next up previous contents
Next: Object Copy Up: Sets, Lists, Arrays and Previous: Sets, Lists, Arrays and

Append

Calling Sequence:
append( $L, l_{1}, l_{2}, \ldots$)
Parameters:
L : { list, array}
li : anything

Returns: A list (array).

Synopsis: This function appends $l_{1}, l_{2}, \ldots$ to the list L. If the resulting list has length less than 10, it returns a new copy. Otherwise it appends it to L.

Examples:

> z := proc() 
>   print('dummy procedure'); 
> end;

> append([1, 2, 3, 4], 5, [6, 7], [99], z);




Gaston Gonnet
1998-09-15