| Did you know ... | Search Documentation: |
| object<-clone |
<-clone
creates a clone of an object. The semantics of cloning objects in
general are difficult to define. Which related objects are to be cloned
and which are to be shared between the clone and the original object?
The approach taken by PCE is not particularly neat. We do not recommend heavy use of this facility.
Object are cloned recursively. This implies all objects
that can be reached from this object are cloned as well. The algorithm
deals correctly with cyclic structures.
While executing a recursive clone, two flags may influence the result:
variable <-clone_styleDefines the type of relation class <-clone_styleDefines the type of object
Please consult the documentation of these for details.
Bugs: The semantics are ill defined. Be very carefull
with plain cloning and study this description carefully
before going ahead. When in doubt, use the inspector tool
from the main menu to find out about the result.
-clone_style ->save_in_file