Skip to main content
Version: 4.2.5

Assign Object

Description

Assigns the content of an object variable to another object variable. The two object variables must be of the same type.

The variables will contain the same instance of the object. This means that a property set from one of the object variables, will also affect the other object variable.

The object contained in the two variables is not deallocated until the Free Object method is called on both object variables. When the script execution is finished, the object is deallocated as usual.

Parameters

Destination object

The object variable that the object is assigned to.

Note that the source object variable will contain the same instance of the object.

Source object

The object variable that the object is assigned from.

Note that the destination object variable will contain the same instance of the object.

Section

Init, Main, Procedures, OnExit, and Structure

See Also

Using objects
Define object