Performs a logical bit-wise AND of two bit patterns.
i %& j
i, j:integer expression
i %& j sets in the result only the bits which are set in both i and j.
Print Bin$(3 %& 7, 4) // prints 0011
And is synonymous with %& and can be used instead:
Print Bin$(3 And 7, 4) // prints 0011
And, Or, Xor, Imp, Eqv, |, %|, ^^, Operator Hierarchy
{Created by Sjouke Hamstra; Last updated: 17/09/2014 by James Gaite}