AND
PET VIC20 C64 C16 Plus4 C128
The AND
operator performs a bitwise AND operation.
Syntax
<operand> AND <operand>
Both operands can be any type of numeric expression, except FLOAT.
Examples
PRINT 1 AND 0 : REM outputs 0 IF x >= 0 AND x <= 10 THEN PRINT "x is between 0 and 10"