Custom Handler

Klaus Major klaus at major-k.de
Wed Dec 7 12:15:38 EST 2005


Hi Adam,

> Hi again all:
>
> The functions I have converted from my PHP scripts, don't return  
> any values.  How do I define these functions as handlers that  
> return no value?

Functions:
function xyz
   ##do this and that
   ##return this&that
end xyz

Handler:
on xyz
   ##do this and that
end xyz

Use "on" instead of "function" and you have a handler...

> Thanks very much in advance. :D
>
> Adam

Best

Klaus Major
klaus at major-k.de
http://www.major-k.de




More information about the use-livecode mailing list