Get a handler from a script

Wouter wouter.abraham at scarlet.be
Tue Mar 21 08:58:46 EST 2006


on Sun Mar 19 16:12:57 CST 2006 Geoff Canyon wrote:
>
> Unfortunately for anyone attempting this task, this is a perfectly
> valid script:
>
> /* this is a comment
> as is this */on mouseUp
>    answer "yes"
> end mouseUp

This style of commenting shows rev's inability to parse for handler  
names there after.
Have a look at the handler list field of the revscripteditor.
Take a multi handler script and comment the second handler like  
mentioned by Geoff above.
On reopening the same script in the editor, only the first handler  
will show in the handler list field.

Greetings,
Wouter



More information about the use-livecode mailing list