And8 can be used as an operator and as a function. It performs a logical bitwise And of two bit patterns and puts the result in a 64-bit integer.
int64 = i And8 j( operator)
int64 = And8(i, j)( function)
int64:64-bit integer variable
i, j:any numeric expression
i And8 j and And8(i, j) set in the result only the bits which are set in both i and j. Before the operation is applied, the arguments are converted to Large (using CLarge).
Print Bin$(3 And8 10, 4) // Prints 0010
Print Bin$(And8(3, 10), 4) // Prints 0010
Or8, Xor8, Eqv8, Imp8, Operator Hierarchy
{Created by Sjouke Hamstra; Last updated: 23/09/2014 by James Gaite}