Using libs from several stacks

Klaus Major klaus at major-k.de
Sat Feb 28 17:48:12 EST 2004


Hi Kevin,

>
> I know I have seen the answer to this one in the archives but
> I cannot seem to locate it now that I need it.  I have several
> stacks "using" the same LIB when I open them I get a prompt
> that the lib stack is already loaded what adjustments must i make to 
> prevent this?

you only need to "start using xyz" once!

That stack is then added to the end of the message passing hierarchie.

Which means: once you "start(ed) using xyz", xyz IS in use,
and therefore the prompt :-)

You can query if a stack is in use or not  with "the 
stacksInUse"-function.

Hope that helps...

> Kevin

Klaus Major
klaus at major-k.de
www.major-k.de



More information about the use-livecode mailing list