Returns TRUE if and only if one or more of the operands is true.
Syntax
result = expression1 Or expression2
how result is determined:
| If expression1 is | And expression2 is | The result is |
|---|---|---|
| True | True | True |
| True | False | True |
| True | Null | True |
| False | True | True |
| False | False | False |
| False | Null | Null |
| Null | True | True |
| Null | False | Null |
| Null | Null | Null |
If (2 + 2 = 5) Or (2 + 2 = 4) Then
WScript.Echo "It worked"
End If
“In the sky there is no distinction of east and west;
people create the distinctions out of their own minds and then believe them to be true” ~ Bukkyo Dendo Kyonkai
Operators - Math, comparison, logical.