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