4D v16.3OB Copy |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
OB Copy
OB Copy
The OB Copy command returns an object containing a complete (deep) copy of the properties, sub-objects and values for the object. object must have been defined using the C_OBJECT command or designate a 4D object field. If object contains pointer type values, by default the copy also contains the pointers. However, you can resolve pointers when copying by passing True in the resolvePtrs parameter. In this case, each pointer present as a value in object is evaluated when copying and its dereferenced value is used. You want to duplicate an object containing simple values: C_OBJECT($Object) You duplicate an object containing pointers: C_OBJECT($ref)
See also
|
PROPERTIES
Product: 4D HISTORY
Created: 4D v14 ARTICLE USAGE
4D Language Reference ( 4D v16) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||