Can I call a function that is in a different script?

erik hansen erikhans08 at yahoo.com
Mon Mar 10 02:10:01 EST 2003


--- Victor Eijkhout <eijkhout at cs.utk.edu> wrote:
> 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.

i remember a workaround from somewhere 
that "sent" a handler with parameters to a
script which had a function <inside> the handler.

how the data was returned, i disremember.
maybe a global or the result.  

=====
erik at erikhansen.org    http://www.erikhansen.org

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/



More information about the use-livecode mailing list