DataBasic Reference > DataBasic Objects > DataBasic Server Objects Operations > Copy an Object

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

RealityV15.1Online Documentation (MoTW) Revision 7

Copy an Object (dbo_copy_object.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

Copy an Object

A DataBasic object (DBO) only contains a reference to the actual object. DataBasic is unable to replicate an object since it is not the owner, and has no knowledge of the object’s structure or contents.

Hence, when a DBO is saved in a DataBasic variable it is only the reference to the underlying object that is replicated, such that both variables now operate on the same external object.

To create a new instantiationClosed of the object an object-specific copy method must be used if available.

Syntax

DBO1 = DBO2

RealityV15.1 (MoTW) Revision 7Comment on this topic