[fpc-pascal]FPC 1.0.6 and open arrays
Michael Van Canneyt
michael.vancanneyt at wisa.be
Mon Jan 27 10:16:47 CET 2003
On Sat, 25 Jan 2003, Jilani Khaldi wrote:
> Hi All,
>
> Does FPC support open arrays?
> I get an error compiling something like this:
>
> type
> m = array of integer;
This is a dynamic array, not an open array.
Dynamic arrays are supported in version 1.1.
>
> 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 is supported in 1.0.6
Michael.
More information about the fpc-pascal
mailing list