Stopping a script

J. Landman Gay jacque at hyperactivesw.com
Wed Jun 29 14:11:01 EDT 2016


All handler names are single words. Send and call expect that, as they 
should, and will see the statement as requesting a handler named "end" with 
a parameter "mouseUp" . There is no handler named "end", nor can there be, 
since "end" is a designated terminator - - bodybuilders aside.

What would a text to speech app do if you asked it to read a sentence 
comprised of three spaces and a period?

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



On June 29, 2016 12:10:50 PM Richmond <richmondmathewson at gmail.com> wrote:

> Um: "You're trying to execute a terminator." I'll avoid the off-colour
> remarks about
> the Styrian bodybuilder and what he did to Tookie Williams.
>
> Why can one not 'call' a terminator in Livecode? Rather like one can use
> *break* in a *switch* statement.
>
> Richmond.
>
> On 29.06.2016 20:03, J. Landman Gay wrote:
>> 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
>
> _______________________________________________
> 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