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

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.


Jonas

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

Reply via email to