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.

_______________________________________________
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to