Marius Posted January 10, 2021 Share Posted January 10, 2021 Perhaps a stupid question haha, but I was wondering: is it possible to exit a FOR...NEXT loop? The only thing I can think of is this: 10 FOR T=1 to 10000 20 IF PEEK(53279)=6 THEN T=10000; REM checks whether START is pressed 30 NEXT T As soon as START is pressed, T becomes 10000 and the FOR..NEXT loop will be exit on line 30. I am wondering: can this be done less 'drastic' than this? Thanks M. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.