up previous next

Append

Syntax

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

where V is a variable containing a list.
    

Summary

append an object to an existing 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