GLBasic User Manual

Main sections

CONTINUE

CONTINUE


Continues the current FOR or WHILE loop as if NEXT or WEND stood here.

FOR i=0 TO 10 STEP 2
    IF i=6 THEN CONTINUE // 6 will never print
PRINT i, 0, 32*i
NEXT

SHOWSCREEN
MOUSEWAIT


Output :
0
2
4
8
10

See also...