If either expression evaluates to True, result is True. If the first expression evaluates to True, the second expression is not evaluated, result is True. The following table illustrates how result is determined:
If expression1 is | And expression2 is | Then result is |
---|---|---|
True | (not evaluated) | True |
True | (not evaluated) | True |
False | True | True |
False | False | False |
Logical Operators | Operator Precedence in Visual Basic | Operator Summary