TransformationListsEmpty LISTobjectInsertion


If you have a list, the fundamental operation is insertion into the list. So there are two steps, first the generation of an empty LISTobject, and then the insertion into a list.

For the first step you simply call the standard routine init(), see the following example:

OP l = callocobject();
This prints the message
empty list
on the terminal.

The typical operation is the insertion of a new object into a list. This is done using the following routine:

There is also a test whether we are at the end of a list For checking of the installation you can use,
last changed: November 19, 2001

TransformationListsEmpty LISTobjectInsertion