Use BINAND to clear or test specific bits. BINAND(A,B) converts the values of A and B to integers. The integer values of A and B are then treated as unsigned binary numbers. Corresponding bits in A and B are then ANDed together. If both corresponding bits in A and B are a 1 the resulting bit is set to a 1 otherwise it is set to a 0. The following example: