My program spends most of its time in a function that is being looped. I am using GUISetOnEvent for exiting the program, but it appears that it only checks on that when not in the loop. Once the loop starts however, it doesn't end until it meets a user specified time, which could be hours away. What can I do so that the X button always works?
↧