56
CONTINUE Directive
Initiates Next Iteration of Loop
Format
CONTINUE
Description
Use the CONTINUE directive to go immediately to the next iteration of a loop (or
terminate the loop if it is the last iteration). The *CONTINUE label emulates a
CONTINUE directive for use as a statement reference.
See Also
Flow Overrides, User's Guide
Examples
0010 FOR I=-1 TO 3 STEP 1
0020 IF I<=0 THEN PRINT " TESTING ",; CONTINUE
0030 PRINT I,
0040 NEXT
-:run
TESTING TESTING 1 2 3-:
0110
FOR I=1 TO 100
0120
IF X$[I]<K$ CONTINUE
0130
PRINT X$[I]
0140
NEXT