Well here is the situatian. As i mentioned the sub in the thread keeps going and my main program also keeps going.
I want in the main process when i hit a button to stop the cycle in the thread. Is there such way. I mean maybe to use a flag in the sub(tried this it didn't reflect anything). So is there a way to end the cycle in the sub
This is what i mean by killing it i want to stop this sub or simply execute return in it when there i a button pressed in the main process
In reply to Re^6: Execute a sub in the background
by Anonymous Monk
in thread Execute a sub in the background
by egzoti4en
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |