abort a handler

Ian Wood revlist at azurevision.co.uk
Sun May 28 16:17:29 EDT 2006


On 28 May 2006, at 18:10, J. Landman Gay wrote:

> It is essential, I have found, to build in an escape clause like this:
>
> on mouseup
>  repeat
>   if the shiftkey is down then exit repeat
>   put the ticks
>  end repeat
> end mouseup
>
> --  
> Jacqueline Landman Gay

Or add in a line with something like:

wait 1 millisecond with messages

Then there should be an opportunity for the handler to be aborted.

Ian

Edit - just tried it and it doesn't work, but at least Rev isn't  
totally frozen, allowing you to suppress messages, or to pick up on  
keypresses.



More information about the use-livecode mailing list