The ObjectAddress attribute returns a unique value to compare two object instances.
Syntax | |
ObjectAddress | |
Return value | |
Type |
Description |
Long |
Unique address of the object. If the variable is NoValue, the return value is 0. |
Remark | |
The attribute is read-only. |
Example:
Dim LCar As ::Car
LCar := New ::Car
MsgBox LCar.ObjectAddress
#shows: the server-side memory address of the object