xHarbour Reference Documentation > Function Reference |
Checks whether a bit at a specified position is set.
IsBit( <nInteger>|<cHex>, [<nBitPos>]) --> lBitIsSet
The function returns .T. (true) when the bit at position <nBitPos> is set, otherwise .F. (false) is returned.
See also: | NumAND(), NumNOT(), NumOR(), NumXOR(), SetBit() |
Category: | CT:NumBits , Numbers and Bits |
Source: | ct\bit2.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com