I thought I would just ask this smalltalk list a couple of questions - I am new to smalltalk and this list has been highly recommended in solving most smalltalk problems - guess its because all of you are smalltalk gods or something... anyways... here it goes.
I have a record subclass declared as follows:
Object subclass: #RECORD - I have various methods for this.
I want to make an array of records - so its one array that stores of type records - which I have defined
I have tried the following:
OrderedCollection subclass: #People
- dont know what methods I need - do I have to have an initial 'instance creation'!
This does compile but it complains at the following:
Smalltalk at: #arecord put: (People new) !
Just complains about Object People - hangs.
All I need is a way of storing these records in an array. I could use ARRAY instead of OrderedCollection but I want a dynamic array.
If anyone knows how to do this - please can you get back in contact with me, I will add in all my own methods for my People subclass after I have the basic one working - so I can add records to it.
Thanks ever so much - and keep up the good work - people look up to you guys ya all know :-)
J
_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp