I have a parent script for the connection to my back end application
server. Up till now I have been creating a new instance of that object and
storing it in a global variable. I have just read about the actorlist (I'm
new to Director so I keep discovering these things) and now my current
thinking is that I should add it to the actorlist so it can receive the
stepframe message.

Should I carry on using:

set gPSConnection=new(script "cPSConnection")
add the actorlist,gPSConnection

or

instead should I be using:
add the actorlist,new (script "cPSConnection")?

I would like to be able to refer to the object by name instead of refering
to the index in the actorlist since the code will be easier to read and we
have several programmers who may be working on it.

Also does: the actorlist=[] set all objects in the actorlist to VOID? If so
does this include any objectss that were in existence prior to being added
to the actorlist?

thanks in advance

Ian



[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