Home > Expression Operators > Logical Operators > #AND

#AND

Returns 1 if LogicalValue1 and LogicalValue2 are both 1, otherwise 0.

Syntax:

LogicalValue1 #AND LogicalValue2

LogicalValue1 and LogicalValue2 must be 0 or 1.

Examples:

1 #AND 0 equals 0

1 #AND 1 equals 1

(DIVISION = 3) #AND (STATUS = 1)

Related Operators:

#NOT

#OR