i'd store them in one property list, with the name of the global as the
property and the value of the global as the value in the list. then the
whole list can be global, and you can access the "globals" within with

globalNeeded = gGlobalsList[#whichGlobal]

and then there's only one global; the list.


(the list can even be stored in an object that acts as a data manager,
with the manager a global object, and the list a property therein.)

and i always like storing values in fields too, it makes them easier to
change and find then if they are buried in scripts, but i'd still store
it in the field as a big list, and read in that list as the global as
described above...

--bhakti

Gene Fritzinger wrote:
> 
> Hello List,
> 
> I'm creating a simulated version of a software package for use in a CBT.  There are 
>many MIAWs and much information shared between movies as global variables.  I 
>estimate that by the time I'm through with project, there may be over one hundred 
>global variables, some of which will be saved to disk.  I will also be copying a Cast 
>to user's hard drive to save selections and other field members.  My question is, is 
>100 (or so) global variables too many?  Should I consider another approach, such as 
>saving information in a database or field members off-stage?  I have the V-12  DBE 
>Xtra, but I'm not sure my schedule will allow the time necessary for the learning 
>curve.  Please consider sharing your thoughts and opinions on the best way to handle 
>this situation.
> 
> Thanx in advance,
> g fritzinger
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
> email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo.  Thanks!]

-- 
R. Bhakti Klein
Educational Software R & D
http://www.DLWorkshop.net
��
Baritone, unaffiliated but open to suggestions...
���
"On Earth, you can only do little things;
but you can do them with a lot of Love."
                              -- Mother Theresa

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to