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

TSmallIntHelper.ClearBit

Set bit to 0

Declaration

Source position: syshelph.inc line 581

public function TSmallIntHelper.ClearBit(

  const Index: TSmallIntBitIndex

):SmallInt;

Description

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

See also

TSmallIntHelper.SetBit

  

Set bit to 1

TSmallIntHelper.ToggleBit

  

Invert bit

TSmallIntHelper.TestBit

  

Check bit

TSmallIntHelper.HighestSetBitPos

  

Return the position of the leftmost bit set

TSmallIntHelper.LowestSetBitPos

  

Return the position of the rightmost bit set

TSmallIntHelper.SetBitsCount

  

Count number of bits set

TSmallIntHelper.Bits

  

Read or write a bit


Documentation generated on: Sep 29 2022