Unit 'sysutils' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TWordHelper.ClearBit

Set bit to 0.

Declaration

Source position: syshelph.inc line 998

public function TWordHelper.ClearBit(

  const Index: TWordBitIndex

):Word;

Description

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

See also

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.


Documentation generated on: Oct 27 2024