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

TNativeUIntHelper.TestBit

Check bit.

Declaration

Source position: syshelph.inc line 1555

public function TNativeUIntHelper.TestBit(

  const Index: TNativeUIntBitIndex

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

TNativeUIntHelper.SetBit

  

Set bit to 1.

TNativeUIntHelper.ToggleBit

  

Invert bit.

TNativeUIntHelper.TestBit

  

Check bit.

TNativeUIntHelper.HighestSetBitPos

  

Return the position of the leftmost bit set.

TNativeUIntHelper.LowestSetBitPos

  

Return the position of the rightmost bit set.

TNativeUIntHelper.SetBitsCount

  

Count number of bits set.

TNativeUIntHelper.Bits

  

Read or write a bit.


Documentation generated on: Dec 21 2024