Skip to content

TWordHelper.ClearBit

Set bit to 0.

Declaration

Source position: syshelph.inc line 1001

public 
function TWordHelper.ClearBit(const Index: TWordBitIndex) : Word;

Description

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

See also

Name Description
TWordHelper.SetBit Set bit to 1.
TWordHelper.ToggleBit Invert bit.
TWordHelper.TestBit Check bit.
TWordHelper.HighestSetBitPos Return the position of the leftmost bit set.
TWordHelper.LowestSetBitPos Return the position of the rightmost bit set.
TWordHelper.SetBitsCount Count number of bits set.
TWordHelper.Bits Read or write a bit.