Interrupt While loop

J

jimbo_jones

I have a program that check a value for 1 min, I do this in a while
loop. What are some ways to exit the while loop while it's running?

I would like to have an E-Stop button on my form for the user, but I
don't know how to make the button work when a while look is going.
Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top