Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Exiting sub while inside a loop
#1
Is it "kosher" to exit a sub while inside a loop in the sub, or does it create problems (e.g. stack corruption etc.)?

(no, Pete, I don't mean a submarine)!
Of all the places on Earth, and all the planets in the Universe, I'd rather live here (Perth, Western Australia.) Big Grin
Please visit my Website at: http://oldendayskids.blogspot.com/
Reply


Messages In This Thread
Exiting sub while inside a loop - by PhilOfPerth - 12-05-2025, 01:55 AM
RE: Exiting sub while inside a loop - by CMR - 12-05-2025, 03:09 AM
RE: Exiting sub while inside a loop - by SMcNeill - 12-05-2025, 03:36 AM
RE: Exiting sub while inside a loop - by Pete - 12-05-2025, 08:24 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Do Loop, Sleep and Mouse Button Dimster 5 577 09-06-2025, 12:57 PM
Last Post: Dimster
  Using modulo to loop through lists fistfullofnails 3 705 09-03-2025, 11:50 PM
Last Post: fistfullofnails
  What is wrong with this for/next loop Helium5793 6 1,120 04-15-2025, 05:11 PM
Last Post: Kernelpanic
  Question on ln in a for/next loop Dimster 13 2,180 09-13-2024, 11:07 PM
Last Post: Kernelpanic
Photo Flickering of the screen due to images and text in a loop Delsus 8 1,473 09-08-2024, 07:18 AM
Last Post: Delsus

Forum Jump:


Users browsing this thread: 1 Guest(s)