Skip to content

TQWordHelper.ClearBit

Set bit to 0.

Declaration

Source position: syshelph.inc line 1321

public 
function TQWordHelper.ClearBit(const Index: TQwordBitIndex) : QWord;

Description

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

See also

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