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