IsEqualObject
Returns True if two values refer to the same object.
Syntax
IsEqualObject(Val1, Val2)
Parameters
Val1
Type: Object
The first value to test.
Val2
Type: Object
The second value to test.
(return)
Type: Boolean
True if Val1 and Val2 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