![]() |
![]() |
![]() |
![]() |
![]() |
|
To create an instance of OrderedCollection, you send the
OrderedCollection class the new message.
The following, for example, creates an OrderedCollection instance
and assigns that instance to a global variable named CaloriesCollection:
*-- Tells the receiver
| to create an new instance
v
CaloriesCollection := OrderedCollection new