Advertisement
WarPie90

Woot

Dec 16th, 2015
388
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Delphi 0.30 KB | None | 0 0
  1. var
  2.   i:Int32;
  3.   a:Array of Int32 = [1,2,3];
  4. begin
  5.   for i in a do
  6.     WriteLn(i);
  7. end; //works
  8.  
  9. var
  10.   i:Int32;
  11. begin
  12.   for i in [1,2,3] do
  13.     WriteLn(i);
  14. end; //fails
  15.  
  16.  
  17. https://github.com/nielsAD/lape/pull/45/files#diff-e298f2be61c88135cdbd184a022da58eR2763
  18. both work with ^ commented
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement