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

TNativeIntHelper.TestBit

Check bit.

Declaration

Source position: syshelph.inc line 1466

public function TNativeIntHelper.TestBit(

  const Index: TNativeIntBitIndex

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

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.


Documentation generated on: Nov 23 2024