functions in other stacks: how to call?

Dar Scott dsc at swcp.com
Sun Dec 1 16:25:01 EST 2002


On Sunday, December 1, 2002, at 11:49 AM, Ken Ray wrote:

> The other possibility is to temporarily (or permanently) have the 
> script as
> a backscript.

Here is a trick that works with simple constant parameters:

   call "return bumpIt(17)" of button "Test"
   put the result into field "Report"

Also, if you have control over the script of the object, use a handler 
and use return in the handler.  To use it use send (not in time) and get 
the result with result().  This is much better in that it is not limited 
to constant parameters.

Any better methods???  It would be cool to call a function in any object.

Dar






More information about the Use-livecode mailing list