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

Jan Schenkel janschenkel at yahoo.com
Mon Mar 10 17:17:02 EST 2003


--- erik hansen <erikhans08 at yahoo.com> wrote:
> 
> --- Jan Schenkel <janschenkel at yahoo.com> wrote:
> 
> > Why not just use the 'value' function ? It has
> > a
> > second parameter that lets you determine in the
> > context of which object it should be executed.
> > Example
> > :
> >   get value("Foo()", fld "Bar")
> 
> this always works when fld "Bar" is in a
> different stack? or is it safer to:
> 
> get value("Foo()", fld "Bar" of stack "snafu")?
> 
> 
> =====
> erik at erikhansen.org    http://www.erikhansen.org
> 

Hi Erik,

This particular example would require that field "Bar"
is on the same card in the same stack. Of course, if
you want, you can always refer to a field in another
stack in memory.

Hope this helped,

Jan Schenkel.

=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)

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



More information about the use-livecode mailing list