For Each with Ranges

The “ForEach” loop can also be used to visit all indexes in a Range object, eg:

ForEach $index in $range v2.1

code to repeat (aka: the loop's body)

End

If the range is empty (its length is zero), the loops body is not executed at all.


Previous Chapter
For Each Loop
<<  index  >>
 
Next Chapter
Macro Termination