Never mind, I found the problem. program hello;
{$mode delphi}
procedure Test;
var
Data: array of Integer = [0, 15, 24];
I: Integer;
begin
WriteLn('Testing new array features');
for I in Data do
WriteLn(I); // fixed
end;
begin
Test;
end.
Outputs:
Testing new array features
0
15
24
_______________________________________________ fpc-pascal maillist - [email protected] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
