REMOVE


 
SYNTAX:
 
PROCEDURE REMOVE ( VAR L :  LIST OF GENERIC;
                                             P         : INTEGER );
 
 
The remove procedure removes an element from a particular position in a list.
 
Parameters :
 
a) L is the list value from which an element is to be removed.
b) P is an integer giving the position of the element in L to be removed.
Result : L is modified by removing the element found at the specified position P.
 
Conditions : 1  P  SIZEOF(L)