OT Copy version 1
OT Copy(inObject) Longint
→
Parameter Type Description
inObject Longint A handle to an object
→
Function result Longint A handle to a new object
←
Discussion
OT Copy makes a complete copy of object and returns the copy. The copy is added to the ObjectTools handle list, and must be cleared with OT IsObject when it is no longer needed.
If memory cannot be allocated for the copy, an error is generated and OK is set to zero.
See Also

