You don't want to add a new instance with new. Use this parent script
instead:

on new me
  pInstanceList = []  -- this is where i get in trouble.
  return me
end

on addToList me, input
 append(pInstanceList, input)
end



on mDisplayInstanceList me
  put pInstanceList
end



And then you just do something like:
gObj = new("parent script")

Then to add: gObj.addToList(whatever)


[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