Check bit.
Source position: syshelph.inc line 944
public function TShortIntHelper.TestBit(  | 
const Index: TShortIntBitIndex  | 
):Boolean;  | 
TestBit reads boolean value (true if bit is 1, and false if bit is 0) from bit number determined by argument Index.
  | 
Set bit to 1.  | 
|
  | 
Set bit to 0.  | 
|
  | 
Invert bit.  | 
|
  | 
Return the position of the leftmost bit set.  | 
|
  | 
Return the position of the rightmost bit set.  | 
|
  | 
Count number of bits set.  | 
|
  | 
Read or write a bit.  |