System: Windows XP
Compiler/IDE: Free Pascal with Dev Pascal
API: None
According to the Free Pascal reference manual, I should be able to define dynamic arrays like so:
But the compiler gives me an error on the first line, saying "[ expected by OF found"Code:type intarray = array of integer; var arr : intarray;
I've looked in the Options menu, and I'm using Free Pascal as my compiler, so why would the reference manual syntax not work?[/code]
Bookmarks