Skip to content

TNativeIntHelper.ClearBit

Set bit to 0.

Declaration

Source position: syshelph.inc line 1467

public 
function TNativeIntHelper.ClearBit(const Index: TNativeIntBitIndex)
                                   : NativeInt;

Description

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

See also

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