I don't think you can do it with an array, but you might be able to get
an array to help you just list existing objects. I wonder if you could
do something like pass object names into values of your array? The array
might have to be of the same data type as the objects though and I don't
know if that's actually possible. There are also dictionaries, it might
be possible to use a dictionary to provide references to your objects.
Cheers, Sent with thunderbird 17.0.8 portableOn 3/19/2014 4:24 PM, john
wrote:
Hi all,
I'm looking to create an array of objects which have constructors
that require data to be passed to them. Does anybody know what the
syntax for this is? I'd also like to be able to use these objects with
the array.insert functions, though this is less important. If neither
of these are possible, is there any way that I can create an unknown
number of objects with constructors other than arrays?
Thanks,
John
---
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to
gamers-unsubscr...@audyssey.org.
You can make changes or update your subscription via the web, at
http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/gamers@audyssey.org.
If you have any questions or concerns regarding the management of the
list,
please send E-mail to gamers-ow...@audyssey.org.
---
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org.
You can make changes or update your subscription via the web, at
http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/gamers@audyssey.org.
If you have any questions or concerns regarding the management of the list,
please send E-mail to gamers-ow...@audyssey.org.