See also:
foreach, while
Usages
-
for variable = start to end [step inc] ... end
Loops over the instructions between the for and end statements, incrementing the given variable at the end of each loop.
Examples
for i = 1 to 3
echo $i
end
for i = 1 to 100 step 3
echo $i
end