Stopping a script

dunbarx at aol.com dunbarx at aol.com
Wed Jun 29 13:09:01 EDT 2016


Richmond.


What jacque said.


Turn it upside down. Imagine you tried to:


send "on mouseUp" to...


Craig



-----Original Message-----
From: J. Landman Gay <jacque at hyperactivesw.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Wed, Jun 29, 2016 1:03 pm
Subject: Re: Stopping a script

You can only send or call handler names. The "end" statement simply 
designates where the handler ends, much like the period at the end of a 
sentence. You're trying to execute a terminator.

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



On June 29, 2016 11:15:20 AM Richmond <richmondmathewson at gmail.com> wrote:

> Maybe I'm just being a bit simplistic, BUT what is wrong with
> having a button containing this script:
>
> on mouseUp
>     send "end mouseUp' to button "XYZ"
> end mouseUp
>
> this generates an error message:
>
>   (Handler: can't find handler) near "end"
>
> ?
>
> Richmond.
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list