>Without being to "include" scripts, or some other kind
>of library feature, I am stuck with copy and paste, or
>limiting myself to what I can type, making it near
>impossible to leverage other people's code.
Just tuck 'em into backscripts. There's no limit to the number of
backscripts which can be in use at any given time, and the syntax for
using them is a snap:
insert script of <objDescriptor> into back
remove script of <objescriptor> from back
Once a script is inserted into the backscripts, it is available to any
other scripts. Nearly everything I've written makes use of at least one
backscript, just for the sort of general utility libraries you describe.
If we could encourage others to factor code similarly, such scripts can
be easily shared electronically, whether in native MC objects or even as
plain ol' ASCII text.
Alternatively, if you want to store your libraries in discrete stacks,
the benefit of doing this with the "start using" command is that the
stack gets a message when it is first put into use, so it can perform
autoinitialization if needed.
- Richard Gaskin
Fourth World
Tools and services for multimedia and internet developers
__________________________________________________________
[EMAIL PROTECTED] http://www.FourthWorld.com
US: 800-288-5825 Int'l: 323-225-3717 Fax: 323-225-0716