And Operator

For Boolean expressions, returns “false” if one or more expressions are false. For integer expressions, it does a bitwise AND operation.

Syntax

expression_1 And expression_2

Parts

expression_1
A Boolean or integer expression.
expression_2
A Boolean or integer expression.

Instructions

Truth table for expression_1 And expression_2
If expression_1 isAnd expression_2 isThe result is
TrueTrueTrue
TrueFalseFalse
FalseTrueFalse
FalseFalseFalse
If the bit in expression_1 is And the bit in expression_2 is The bit in the result is
111
100
010
000

Examples

TODO2

See also