New “for var” syntax in DWScript
Latest DWScript SVN introduces support a new “for var” syntax extension for loops.
It combines the loop with the loop variable declaration (type-inferred), while scoping the variable to the loop.
The syntax of “for to/downto” loops is thus extended to: