cat • loop

Loop Control Structures

BREAK Leaves a loop immediately.
CONTINUE Jumps to the next occurence of a loop.
DO ... LOOP Infinite loop.
FOR ... NEXT Counter loop.
FOR EACH ... NEXT Enumeration loop.
REPEAT ... UNTIL Loop with an exit test at the end.
WHILE ... WEND Loop with an exit test at the beginning.