Skip to content

TCardinalHelper.ClearBit

Set bit to 0.

Declaration

Source position: syshelph.inc line 1122

public 
function TCardinalHelper.ClearBit(const Index: TCardinalBitIndex)
                                  : Cardinal;

Description

ClearBit puts value 0 to bit number determined by argument Index.

See also

Name Description
TCardinalHelper.SetBit Set bit to 1.
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.