The DOLOOP command
allows <statements
> to be executed
a defined number of times with an incrementing variable.
The loop will always be executed at least once since
the loop count variable will be incremented at the end of each loop.
This variable, if omitted, is an automatically created word named LOOP.
The variable may be used freely within the loop,
Example
DOLOOP LOOP1 FROM 1 TO 8 STEP 2 { ... NEWWORD = POSITION * LOOP1 INC NEWWORD POSSPEC ... }
will execute the commands within curly braces for values of the word LOOP1 of 1,3,5 and 7.