ghkweon / dwscript

Automatically exported from code.google.com/p/dwscript
0 stars 0 forks source link

Wrong syntax error (with var declared in for-in-do loop) #338

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Code:

Var a : Array Of String;

For Var s In a Do
 PrintLn(s);

Output:

Syntax Error: Unknown name "s" [line: 4, column: 10]

Original issue reported on code.google.com by kazantse...@mail.ru on 14 Feb 2013 at 9:27

GoogleCodeExporter commented 8 years ago
That's currently unsupported, "for var" is only supported for to/downto loops 
at the moment.

Original comment by zar...@gmail.com on 15 Feb 2013 at 4:02

GoogleCodeExporter commented 8 years ago

Original comment by zar...@gmail.com on 12 Mar 2013 at 7:57

GoogleCodeExporter commented 8 years ago
Support added

Original comment by zar...@gmail.com on 13 Mar 2013 at 1:24

GoogleCodeExporter commented 8 years ago

Original comment by zar...@gmail.com on 13 Mar 2013 at 1:24