exit more than one loop

BlitzMax Forums/BlitzMax Beginners Area/exit more than one loop

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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