| |
Type of variables | Effect |
---|
Simple types (integer, real, string, etc.) | The value of the variable is copied. |
Arrays | The destination array is a reference to the source array. |
Associative arrays | The content of the array is copied. |
Queue | The content of the queue is copied. |
Stack | The content of the stack is copied. |
List | The content of the list is copied. |
Object = Dynamic object | The members of the dynamic object are copied to the members of the object. |
Object = Object | The members of the source object are copied to the members of the destination object. |
Dynamic object = Dynamic object | The destination dynamic object is a reference to the source dynamic object. |
Dynamic object = Object | The destination dynamic object is a reference to the source object. |
Structure = Dynamic structure | A copy of the structure is performed. Members with the same name are initialized with the existing values. Non-existing members are ignored. |
Structure = Structure | A copy of the structure is performed. Members with the same name are initialized with the existing values. Non-existing members are ignored. |
Dynamic structure = Dynamic structure | The destination dynamic structure is a reference to the source dynamic structure. |
Dynamic structure = Structure | The destination dynamic structure is a reference to the source structure. |
Advanced type = Advanced type | The advanced type variable is copied. Properties of the same name are initialized with the existing values. |
Advanced type = Dynamic advanced type | The advanced type variable is copied. Properties of the same name are initialized with the existing values. |
Dynamic advanced type = Advanced type | The destination dynamic advanced variable is a reference to the source advanced variable. |
Dynamic advanced type = Dynamic advanced type | The destination dynamic advanced variable is a reference to the source dynamic advanced variable. |