up previous next
Remove

remove an object in a list
Syntax

Remove(V:LIST,N:INT):NULL

where V is a variable containing a list.


Description
This function removes the N-th component from L. (The function WithoutNth returns the list obtained by removing the N-th component of L without affecting L, itself.)

Example
Use R ::= Q[x,y,z];
L := Indets();
L;
[x, y, z]
-------------------------------
Remove(L,2);
L;
[x, z]
-------------------------------


See Also