Set bit to 1
Source position: syshelph.inc line 503
public function TCardinalHelper.SetBit( |
const Index: TCardinalBitIndex |
):Cardinal; |
SetBit puts value 1 to bit number determined by argument Index.
|
Set bit to 0 |
|
|
Invert bit |
|
|
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 |