The List class has been optimized to organize and query large sets of data. A large number of the messages defined for this class have been written in Vision and can therefore be modified and expanded as needed. As always, you can define any number of new messages for the class. To create a List , you use the , message to append one or more elements together. Any type of object can be included in a list and the list can contain objects from multiple classes.
List objects respond to the message count .
The variable newList returns a list of 0 elements. You can then append elements to this list in the normal way. The ',' message changes the recipient List object directly. The asList message can be used to produce a 1 element list from a single object. You can append additional objects to myList in the normal way.