exit more than one loop
BlitzMax Forums/BlitzMax Beginners Area/exit more than one loop
| ||
| Hi, I am aware that blitzmax lets you exit more than 1 nested loop using Exit, but when I looked at the docs, they are out of date. What is the format for exiting more than one nested loop? Thanks |
| ||
Strict'er
#loopy
repeat
for local x=0 until 10
for local y=0 until 10
print x + " : " + y
if y = 5 then exit loopy
next
next
forever
'exit to here
end |
| ||
| Many thanks! |