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

TQWordHelper.TestBit

Check bit.

Declaration

Source position: syshelph.inc line 1315

public function TQWordHelper.TestBit(

  const Index: TQwordBitIndex

):Boolean;

Description

TestBit reads boolean value (true if bit is 1, and false if bit is 0) from bit number determined by argument Index.

See also

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.


Documentation generated on: Jul 24 2023