Command Reference
LOOP
Table explanation
Group Program Flow Control
Syntax LOOP <n> <v> <l>
Op. Code 75
Modes Program
Description Repeats a portion of code beginning at a label a specified number
of times. Up to four loops may be nested within one another but
they may not cross one another.
n The levels of nesting within this loop (up to 4).
Serial
2 U
v The number of cycles of this loop to perform.
Serial
4 U V
Syntax
Arguments
l The label to which this loop belongs.
Serial
1 U
Example Three loops with two nesting levels are shown below (the
command lines have been separated for clarity). Loops 2 and 3 are
nested in Loop 1.
136 XtraWare User Manual