8. Copying objects#
It is possible to copy JEVEUX objects on the same base or from one base to another. Copying simple objects does not pose any particular problem, on the other hand it is more difficult to manipulate collections. A collection can rely on an external name directory or an external-length pointer. These simple objects must be created and partly managed independently (for example their destruction must be explicit). Their name may therefore be unrelated to the name of the collection.
Two cases are possible:
the copying is done on different bases: the external pointers will be duplicated and will become pointers internal to the collection,
the copying is done on the same basis: the external pointers can be kept or they are duplicated and become internal.
If the receptacle already exists, it is destroyed before being copied.
Rules of use:
Use jedupo