And Operator
Used to perform a logical conjunction on two expressions.
Synopsis
result = expression1 And expression2
Arguments
The And operator syntax has these parts:
result | Any numeric variable. |
expression1 | Any expression. |
expression2 | Any expression. |
Description
If, and only if, both expressions evaluate to True, result is True. If either expression evaluates to False, result is False. The following table illustrates how result is determined:
If expression1 Is | If expression2 Is | The result Is |
---|---|---|
True | True | True |
True | False | False |
False | True | False |
False | False | False |