Performs a logical equivalence on two expressions.
Syntax result = expression1 Eqv expression2
How result is determined:
If expression1 is | And expression2 is | The result is |
---|---|---|
False | False | True |
False | True | False |
True | False | False |
True | True | True |
If either expression is Null, result is also Null.
Test the equivalence with any pair of expressions that return either True/False or the numeric equivalent -1/0
WScript.Echo (False Eqv 0)
“You go away for a long time and return a different person - you never come all the way back” ~ Paul Theroux
Operators - Math, comparison, logical.