Documentation

#CONTINUE

Added in v2.12

CONTINUE

Syntax: #CONTINUE
Related: #BREAK, #EXIT

Must be used within a loop - jumps to the beginning of the loop and continues with the next loop iteration.

CONTINUE Example

#LOOP 10 {#IF (%i = 5) {#CONTINUE};#SHOW %i};#SHOW after

Displays 1,2,3,4,6,7,8,9,10,after. When the loop gets to number 5, the #CONTINUE command aborts the current iteration and jumps back to the start of the loop for the next iteration.

Add comment

Login or register to post comments