Where do you put your scripts?

Rob Cozens rcozens at pon.net
Fri May 3 10:41:03 EDT 2002


>If you have multiple stacks and routines that they all need, put the 
>scripts in the mainStack.

Hi Dar,

Steve & Sarah covered the subject very well, except for one option 
alluded to above:

If you have handlers that are referenced by multiple stacks and 
multiple applications, place them in the stack script of a library 
stack and "start using stack 'myLibrary'" when you open or preopen 
the stacks that call the handlers.

One can create and start using multiple libraries and reorder the 
libraries in the message hierarchy during runtime.  One can also send 
users updated libraries that will be referenced at runtime without 
recompiling or linking your application.
-- 

Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.com/who.htm

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)



More information about the use-livecode mailing list