Where do you put your scripts?

Ivers, Doug E Doug_Ivers at lord.com
Mon May 6 14:06:03 EDT 2002


On 5/3/02 11:12 AM, "Rob Cozens" <rcozens at pon.net> wrote:

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


Based on this advice, I want to set up a stack that centralizes all my most
useful functions. What's the best way to include these in the standalone
when I'm ready to build it?  Is there an easy way to include only the
functions that the stand-alone will need?

-- D



More information about the use-livecode mailing list