Skip to content

TNativeUIntHelper.ClearBit

Set bit to 0.

Declaration

Source position: syshelph.inc line 1556

public 
function TNativeUIntHelper.ClearBit(const Index: TNativeUIntBitIndex)
                                    : NativeUInt;

Description

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

See also

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