Man
Builtins
Object control
copy (Object control)
copy (Object control)
Clones a value.
Arguments
value0
is the value to clone.
Return values
value1
is the clone.
Example
a: (1 2 3); b: a; c: a copy; 20 1 a ! b print LF print c print
Output:
( 1 20 3 ) ( 1 2 3 )