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

TNativeUIntHelper.SetBit

Set bit to 1.

Declaration

Source position: syshelph.inc line 1552

public function TNativeUIntHelper.SetBit(

  const Index: TNativeUIntBitIndex

):NativeUInt;

Description

SetBit puts value 1 to bit number determined by argument Index.

See also

TNativeUIntHelper.ClearBit

  

Set bit to 0.

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