for var to



for var to
Pas2JS pascal source code
for var i := 1 to 3 do WriteLn(i); for var i := 10 downto i - 2 do WriteLn(i); type TEnum = (enumOne, enumeTwo); const c: array [TEnum] of String = ['one', 'two']; var e := enumOne; for var f := Low(TEnum) to High(TEnum) do WriteLn(c[f]); WriteLn(c[e]); {<<< RESULT - CONSOLE LOG >>> ----------------------------- 1 2 3 10 9 8 one two one ----------------------------- {<<<<<<<<< THE END >>>>>>>>>}