BitAND

Description

This function is used to return bitwise AND operation of two intergers.

 

Syntax

 __int64 BitAND( __int64 a, __int64 b )

Parameters

a

Any allowed interger.

b

Any allowed interger.

Return

Return the result of two input numbers by bitwise AND operation.

Example

EX1

aa = BitAND(1,7);
aa =; //returns the result of an AND operation.

EX2

i=hex(F1101010101); 
j=hex(F2010101011);
Dec2hex(bitand(i,j),12)$=;// 0F0000000001

See Also

BitOR, BitXOR