[fpc-pascal] Feature announcement: Dynamic array extensions
Anthony Walter
sysrpl at gmail.com
Sun May 20 19:57:09 CEST 2018
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20180520/3a77f639/attachment.html>
More information about the fpc-pascal
mailing list