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

J. Landman Gay jacque at hyperactivesw.com
Tue Jun 27 11:27:32 EDT 2006


Ben Rubinstein wrote:

> I don't think there's any problem with cmd-period in OS-X; but there is, 
> and always has been, a problem that cmd-period doesn't work if you've 
> got a modal dialog in the way.

Very true, but I think there's a problem with Command-period inside any 
repeat loop as well, regardless of whether it displays a modal or not.

Try this:

on test
  put 0 into tNum
  repeat
   if the shiftkey is down then exit repeat
   add 1 to tNum
   put tNum
  end repeat
end test

Issue "test" from the message box. Now try to Command-period out of it. 
If the shiftkey bypass wasn't in there, you'd have to force-quit.

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



More information about the use-livecode mailing list