next up previous contents
Next: Length of an Object Up: Sets, Lists, Arrays and Previous: Append

Object Copy

Calling Sequence:
copy(x)
Parameters:
x : anything

Returns: anything (the type it is passed)

Synopsis: This function returns an exact copy of any object it is passed.

Examples:

> a := [1,2,3,4];
> NewOne := copy(a);
> NewOne[1] := 5;
> a;




Gaston Gonnet
1998-09-15