Developer Documentation Library > UNICOM Intelligence Function Library > Miscellaneous functions > IsEqualObject
 
IsEqualObject
Returns True if two values refer to the same object.
Syntax
IsEqualObject(<value_1>, <value_2>)
Parameters
<value_1>
Type: Object
The first value to test.
<value_2>
Type: Object
The second value to test.
(return)
Type: Boolean
True if <value_1> and <value_2> refer to the same object or are both NULL, otherwise False.
Example
The following mrScriptBasic example tests two variables to see if they refer to the same object:
If MyVariable1.IsEqualObject(MyVariable2) Then
... ' The same object, or both NULL
Else
... ' Not the same object
End If
See also
Miscellaneous functions