lang • continue

CONTINUE

CONTINUE

Jumps to the next occurrence of a loop. Opposite of BREAK.

Examples

FOR I As Integer = 1 TO 10

  IF I = 1 THEN
    PRINT "One";
    CONTINUE
  ENDIF

  IF I = 2 THEN
    PRINT " Two";
    CONTINUE
  ENDIF

  PRINT I;

NEXT

One Two 3 4 5 6 7 8 9 10

See also