CONTINUE
PET VIC-20 C64 C16 Plus/4 C128 X16 M65
The CONTINUE
keyword is used for skipping the rest of a FOR … NEXT
or DO … LOOP
block and go to the next iteration.
Syntax
CONTINUE [FOR|DO]
When used without the FOR
or DO
keyword, CONTINUE
will be applied to the closest open block.
Examples
REM -- Print numbers from 1 to 10 except 5 FOR i AS BYTE = 1 TO 10 IF i = 5 THEN CONTINUE FOR PRINT i NEXT i