BREAK
Syntax: #BREAK
Related: #CONTINUE, #EXIT
Must be used within a loop - exits the loop and continues with the next statement after the loop
BREAK Example
#LOOP 10 {#IF (%i = 5) {#BREAK};#SHOW %i};#SHOW after
Displays 1,2,3,4,after. When the loop gets to number 5, the #BREAK command exits the loop. |