xHarbour Reference Documentation > Function Reference |
Performs a bitwise AND operation with numeric integer values.
HB_BitAnd( <nInteger1>, <nInteger2> ) --> nResult
The function returns a numeric value. It is the result of the bitwise AND operation with both parameters.
The function performs bitwise AND operation with two integer values. It compares individual bits of both values at the same position. If bits at the same position are set in both values, the bit at this position is also set in the return value.
See also: | & (bitwise AND), HB_BitIsSet(), HB_BitNot(), HB_BitOr(), HB_BitXOr() |
Category: | Bitwise functions , xHarbour extensions |
Source: | rtl\hbBitf.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com