directing a function call
Dar Scott
dsc at swcp.com
Tue Apr 6 16:38:50 EDT 2004
On Tuesday, April 6, 2004, at 02:19 PM, Leston Drake wrote:
> I need to call a function. And I want to target the main stack,
The value() function allows you to specify an object. Read the fine
print.
You might also consider whether a property is the right model. If so,
you might want to use a getProp handler and get a property of the main
stack.
Also you can get values back from send (sans in-time). Put a command
handler in the main stack script and have it return a value. In the
caller script you can look at 'the result'.
In most cases the target changes, so watch for that.
If none of the above seems right, look at 'call'.
Dar Scott
More information about the use-livecode
mailing list