[fpc-pascal]FPC 1.0.6 and open arrays

Jonas Maebe jonas at zeus.rug.ac.be
Sat Jan 25 16:46:03 CET 2003

On zaterdag, jan 25, 2003, at 00:15 Europe/Brussels, Jilani Khaldi 

> Does FPC support open arrays?
> I get an error compiling something like this:
> type
>   m = array of integer;
> but it works fine if I declare it inside a procedure or a function:
> procedure OpenArray(var m: array of integer);

You are confusing two things. The first declaration is a dynamic array, 
the second an open array. FPC 1.0.x supports only the latter, 1.1 
supports both.


More information about the fpc-pascal mailing list