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

TCardinalHelper.TestBit

Check bit.

Declaration

Source position: syshelph.inc line 1121

public function TCardinalHelper.TestBit(

  const Index: TCardinalBitIndex

):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

TCardinalHelper.SetBit

  

Set bit to 1.

TCardinalHelper.ToggleBit

  

Invert bit.

TCardinalHelper.TestBit

  

Check bit.

TCardinalHelper.HighestSetBitPos

  

Return the position of the leftmost bit set.

TCardinalHelper.LowestSetBitPos

  

Return the position of the rightmost bit set.

TCardinalHelper.SetBitsCount

  

Count number of bits set.

TCardinalHelper.Bits

  

Read or write a bit.


Documentation generated on: Dec 21 2024