interrupting a repeat loop
kee at kagi.com
Tue Dec 15 20:15:40 EST 2009
>> 2009/12/15 Tim Selander <selander at tkf.att.ne.jp>
>> Is there any way in RR to check for user input during a repeat loop? I'd
>>> like a loop to continue until the user types a certain key -- at which point
>>> the script would exit the handler.
In my code I have this sprinkled throughout all the repeat loops.
if the optionkey is down then
Then if I hold down on the option key, it drops out of that repeat loop. I sprinkle these within each repeat loop so that it drops out of whatever long process I started.
More information about the Use-livecode