Can I call a function that is in a different script?
Victor Eijkhout
eijkhout at cs.utk.edu
Sun Mar 9 23:03:01 EST 2003
At 12:01 -0500 2003/03/09, Richard Gaskin wrote:
> > Suppose I have a function defined in some field's script. Can I call
>> it from a handler in another field's script?
>
>See the call commond.
That seems to be for handlers; I needed a function because I need the
return result.
In fact, "call" is almost like "send", and in my case "call" would be
precisely wrong, because I want a function result based on local data
of the other handler, not of the calling handler, the way "call"
would imply.
The Son of Thunder had the winning idea on
http://www.sonsothunder.com/devres/metacard/tips/scrp001.htm
--
Victor Eijkhout <eijkhout at cs.utk.edu>
tel: 865 974 9308 (W), 865 673 6998 (H), 865 974 8296 (F)
http://www.cs.utk.edu/~eijkhout/
More information about the use-livecode
mailing list