Interrupt long time run
[1/2] from: didier::jacquemart::libertysurf::fr at: 15-Apr-2002 22:46
Hello.
I've a program under VID that executes a lot of calculations.
In order to follow the progression of the work, from time to time, i display the number
of loops executed.
I would like to stop these loops at any time.
First solution : esc key, but the program ends
Second solution (prefered) : a stop button that, when pressed, will stop the loops.
But the click event will not be immediatly recognized, while the loops are running.
What is the solution?
[2/2] from: greggirwin:mindspring at: 16-Apr-2002 19:21
<< I've a program under VID that executes a lot of calculations.
...I would like to stop these loops at any time.
...Second solution (prefered) : a stop button that, when pressed, will stop
the loops.
But the click event will not be immediatly recognized, while the loops are
running.
What is the solution? >>
Do you have any WAIT statements inside your loops to give other things a
chance to process? That should do it.
--Gregg