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

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


--- 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")?

> 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.

sure did!
i asked instead of just trying it,
because things can differ occording to setups...


=====
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