Overview Module Function Class Tea 3.1.0 Reference Documentation
© 2002 PDM&FC

Function append

append anObject aList

Appends a new element to the end of a list.

Parameters:
anObject - The object being added to the end of the list.
aList - The list object the object will be appended to.
Returns:
A reference to the modified list object.

Appends a new element, containing anObject, to the end of the list received as the aList argument. The list is modified in the sense that it has a new element, its length having increased by one, as reported by the length function.

Overview Module Function Class Tea 3.1.0 Reference Documentation
© 2002 PDM&FC
Report a bug or request new features
© 2002