How do I abort a handler in OS X???

J. Landman Gay jacque at hyperactivesw.com
Mon Jun 26 17:00:29 EDT 2006


Jim Carwardine wrote:
> Hi Folks... I've just upgraded to Rev 2.7.2 in OS X and can't seem to get
> command/period to abort a handler in an infinite repeat loop.  It that only
> a Classic function?  How do I do it in OS X?  I can't look it up in the rev
> docs because my IDE is busy inside my repeat loop which I can't abort.  I'd
> like to be able to save the script changes so I don't want to force quit.
> 
> How do I abort a handler?  Jim

You've probably already force-quit by now, but just for the record, you 
can't get out of one of these and force-quitting is about all you can 
do. This has hit me many times, and now I am (almost) in the habit of 
inserting a line like this into every new repeat loop I write:

   if the shiftkey is down then exit repeat

Once I know the thing works okay, I generally take the line out. But it 
has saved me multiple times.

For some reason, Command-period can't break into a repeat loop. I think 
the engine runs those as fast as it can without checking the keyboard 
input. You might want to Bugzilla this, because it happens a lot.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list