TCardinalHelper.TestBit¶
Check bit.
Declaration¶
Source position: syshelph.inc line 1124
public
function TCardinalHelper.TestBit(const Index: TCardinalBitIndex)
: 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 |
|---|---|
| TCardinalHelper.SetBit | Set bit to 1. |
| TCardinalHelper.ToggleBit | Invert bit. |
| TCardinalHelper.TestBit | Check bit. |
| TCardinalHelper.HighestSetBitPos | Return the position of the leftmost bit set. |
| TCardinalHelper.LowestSetBitPos | Return the position of the rightmost bit set. |
| TCardinalHelper.SetBitsCount | Count number of bits set. |
| TCardinalHelper.Bits | Read or write a bit. |