TShortIntHelper.ClearBit¶
Set bit to 0.
Declaration¶
Source position: syshelph.inc line 945
public
function TShortIntHelper.ClearBit(const Index: TShortIntBitIndex)
: ShortInt;
Description¶
ClearBit puts value 0 to bit number determined by argument Index.
See also¶
| Name | Description |
|---|---|
| TShortIntHelper.SetBit | Set bit to 1. |
| TShortIntHelper.ToggleBit | Invert bit. |
| TShortIntHelper.TestBit | Check bit. |
| TShortIntHelper.HighestSetBitPos | Return the position of the leftmost bit set. |
| TShortIntHelper.LowestSetBitPos | Return the position of the rightmost bit set. |
| TShortIntHelper.SetBitsCount | Count number of bits set. |
| TShortIntHelper.Bits | Read or write a bit. |