TCardinalHelper.SetBit¶
Set bit to 1.
Declaration¶
Source position: syshelph.inc line 1121
public
function TCardinalHelper.SetBit(const Index: TCardinalBitIndex)
: Cardinal;
Description¶
SetBit puts value 1 to bit number determined by argument Index.
See also¶
| Name | Description |
|---|---|
| TCardinalHelper.ClearBit | Set bit to 0. |
| 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. |