Does logical conjunction on the value of a variable and the value of an expression, then changes the variable to the result.
variable And= expression
- A Boolean or integer variable or property.
- A Boolean or integer expression.
The two statements that follow operate the same.
variable And= expression variable = variable And expression
The element on the left side of
And= can be a scalar variable, a property, or an element of an array.
A property cannot have the modifier
And= does the logical-AND operation to the value on its right side and the variable or property on its left side.
Then it changes the variable or property on its left side to the result.
x = %XAA x And= %X3F