TQWordHelper.TestBit¶
Check bit.
Declaration¶
Source position: syshelph.inc line 1323
public
function TQWordHelper.TestBit(const Index: TQwordBitIndex) : Boolean;
Description¶
TestBit reads boolean value (true if bit is 1, and false if bit is 0) from bit number determined by argument Index.
See also¶
| Name | Description |
|---|---|
| TQWordHelper.SetBit | Set bit to 1. |
| TQWordHelper.ToggleBit | Invert bit. |
| TQWordHelper.TestBit | Check bit. |
| TQWordHelper.HighestSetBitPos | Return the position of the leftmost bit set. |
| TQWordHelper.LowestSetBitPos | Return the position of the rightmost bit set. |
| TQWordHelper.SetBitsCount | Count number of bits set. |
| TQWordHelper.Bits | Read or write a bit. |