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

TQWordHelper.SetBit

Set bit to 1

Declaration

Source position: syshelph.inc line 850

public function TQWordHelper.SetBit(

  const Index: TQwordBitIndex

):QWord;

Description

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

See also

TQWordHelper.ClearBit

  

Set bit to 0

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: Sep 29 2022