Library Stacks PART II
Kevin
nnoydb at excite.com
Sun Feb 29 18:23:12 EST 2004
Okay, I guess I am little frustrated here.
1. There is no construct simular to Visual Basic where a project file controls the included stacks aka handlers (thus those stacks in project are in the message path).
NOTE: This also prevents loading a stack that is already loaded.
2. A start using from multiple stacks (main or sub) for the same library will cause a unnerving message from RR.
How do I use a libray wich I wish to include from all my stacks without experiencing this error?
Is it practical (is RR open enough) to modify the distribution builder and ide to support project files?
Kevin
--- On Sun 02/29, Richard Gaskin < ambassador at fourthworld.com > wrote:
From: Richard Gaskin [mailto: ambassador at fourthworld.com]
To: use-revolution at lists.runrev.com
Date: Sun, 29 Feb 2004 12:15:30 -0800
Subject: Re: Using libs from several stacks
Robert Brenstein wrote:<br><br>> True, but issuing 'start using' second time should change the order of <br>> used stacks but not produce an error message. There must be something <br>> else going on yet. May be there is libraryStack handler used and it <br>> tries to load sth second time.<br><br>The libraryStack message can be problematic, since to use it robustly <br>requires the same structure for any usage which is stack-specific:<br><br>on libraryStack<br> if the short name of the target is the short name of me then<br> -- do initialization stuff<br> end if<br> pass libraryStack<br>end libraryStack<br><br>Without that any stack brought into use will trigger the libraryStack <br>message for all other stacks in use (unless one of them isn't passing <br>the message, but not passing system messages for stacks distributed for <br>others to use is so untidy that I prefer to pretend it doesn't happen <br><g> -- if anyone finds any of my libraries, frontscripts, or backscripts <br>not passing messages it's a bug and should be reported immediately).<br><br>-- <br> Richard Gaskin<br> Fourth World Media Corporation<br> ___________________________________________________________<br> Ambassador at FourthWorld.com http://www.FourthWorld.com<br>_______________________________________________<br>use-revolution mailing list<br>use-revolution at lists.runrev.com<br>http://lists.runrev.com/mailman/listinfo/use-revolution<br>
_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
More information about the use-livecode
mailing list