up previous next
Append

append an object to an existing list

Syntax
Append(V:LIST, E:OBJECT):NULL

where V is a variable containing a list.

Description
This function appends the object E to the list V.

Example
Use R ::= Q[t,x,y,z];
L := [1,2,3];
Append(L,4);
L;
[1, 2, 3, 4]
------------------------------- 


See Also