INSERT
Â
SYNTAX:
Â
PROCEDURE INSERT ( VAR L Â Â Â : LIST OF GENERIC:GEN;
                                          E            : GENERIC:GEN;
                                          P            : INTEGER );
The insert procedure inserts an element at a particular position in a list.
Parameters :
 L is the list value into which an element is to be inserted.
 E is the instance to be inserted into L. E shall be compatible with the base type of L, as indicated by the type labels in the procedure head.
 P is an integer giving the position in L at which E is to be inserted.
Â