03-30-2006 03:54 AM
03-30-2006 04:40 AM
03-30-2006 04:46 AM
03-30-2006 05:40 AM
Hi Lacoule,
I guess you could not use local variables for boolean controls with a latch function, only a switch function works with local variables.
One simple way to achieve what u want is, (assuming that you stop button is in the inner loop) use stop button to stop the inner + enter a pre-defined string or numerical value in a global or local variable and when the control comes out to the outer while loops, just use a compare function to generate a true state and can stop the other two loops.
I hope this helps.
-Mohan.
03-30-2006 06:19 AM
hi mohan,
thank for your help but i have put my button on switch and in this case my programm is ok!!
But your idea is a good one and i haven't think of it.
thanks
lacoule