| .AND Operator QuickSCREENi |
|
| AND Operator |
|
| Syntax |
|   result=numeric-expression1 AND numeric-expression2 |
|
| The AND logical-conjunction operator compares corresponding bits in two |
| numeric expressions and sets the corresponding bit in the result to 1 |
| if both bits are 1. The AND operator use this "truth table": |
|
| ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ |
| Bit in First Expression   Bit in Second Expression   Bit in Result |
| ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ |
|            1                       1                      1 |
|            1                       0                      0 |
|            0                       1                      0 |
|            0                       0                      0 |
| ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ |