sjn78 Posted June 2, 2003 Posted June 2, 2003 Is it possible to restart a sub part way through its process?? I have a button with the click event and in there i have a message box. If the user presses yes, I would like the sub to start again and if the user clicks no, to exit sub. The exitting sub is fine....just stuck on how to restart it...if it is possible?? Thanks Steve Quote
Moderators Robby Posted June 2, 2003 Moderators Posted June 2, 2003 It is possible but not recommended, you can get stuck in an endless loop and more. Why can't you manage without it? Quote Visit...Bassic Software
Leaders Iceplug Posted June 2, 2003 Leaders Posted June 2, 2003 Can't you just set up a loop that goes to the beginning (although you'd probably have to get out of your other blocks of code) 'beginning Do 'code here Loop While NoPressed :) or GoTo *cringe*. Quote Iceplug, USN One of my coworkers thinks that I believe that drawing bullets is the most efficient way of drawing bullets. Whatever!!! :-(
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.