[fpc-pascal]FPC 1.0.6 and open arrays
Marco van de Voort
Marcov at stack.nl
Sun Jan 26 12:53:25 CET 2003
> Does FPC support open arrays?
> I get an error compiling something like this:
>
> type
> m = array of integer;
This is an dynamic array, and is supported only in 1.1 (the next big
version currently in development)
> but it works fine if I declare it inside a procedure or a function:
>
> procedure OpenArray(var m: array of integer);
This is an open array, and those are supported in both 1.0.x and 1.1.
So these are two different features (even though the syntax is
similar)
More information about the fpc-pascal
mailing list