And= Operator

Does logical conjunction on the value of a variable and the value of an expression, then changes the variable to the result.

Syntax

variable And= expression

Parts

variable
A numeric variable
expression
A numeric expression

Instructions

The two statements that follow operate the same.

variable And= expression
variable = variable And expression

Examples

x = &HAA
x And= &H3F
After execution
variablevalue
x42

See also