break

break

Break out of a single loop, proceeding to the line immediately after the loop's next statement.
You cannot use this command by itself to break completely out of nested loops, so in that case you'll need to break out of the inner loop, then break out of the outer loop.

For instance:
;------------------------
*define
game
*start
for %0=1 to 8
for %1=6 to 2 step -2
%0C%1
if %0=4 & %1=4 break
next
next
click
end
;------------------------


yA nonrecommended methodz
BREAK *<label name>
This syntax does exist; it has the same functionality as a goto statement.
It can break you out of nested loops, but it leaves the state of the inner loop intact.
This causes a fragmentation of the stack, making it hard to debug your script later, so use this syntax with extreme caution.