Thread: goto
View Single Post
  #10  
Old 02-02-2008, 08:42 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by projectigi View Post
right, its quite annoying to check for a flag each time you have 2+ loops :P
How does that have anything to do with wanting "goto"?
Quote:
Originally Posted by projectigi
or something like a breakall; that would just kill all the loops instead of the one you are in
It's called "return", and will end function execution there and then, regardless of how many loops you have.
Reply With Quote