/
INSERT
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.