TU-Berlin → Inst. f. Mathematik → Algebra und Zahlentheorie → KASH → Documentation → Reference Manual
KASH3 Reference Manual
search    

Function

ShallowCopy ( any obj ) -> any

Description

'ShallowCopy' makes a copy of the object 'obj'. If 'obj' is not a list or a record, 'ShallowCopy' simply returns 'obj', since those objects can never be modified there is no way to distinguish the original object from any copy, so we might as well not copy it. If 'obj' is a list or a record 'ShallowCopy' makes a copy of this object, but does not copy the subobjects.


Built: Mon Nov 14 21:12:39 UTC 2005 on mack
The KANT Group