TBits.Get¶
Retrieve the value of a particular bit.
Declaration¶
Source position: classesh.inc line 701
public
function TBits.Get(Bit: SizeInt) : Boolean;
Description¶
Get returns True if the bit at position bit is set, or False if it is not set.
Errors¶
If bit is not a valid bit index then an EBitsError exception is raised.
See also¶
| Name | Description |
|---|---|
| Bits | Access to all bits in the array. |
| FindFirstBit | Find first bit with a particular value. |
| seton | Turn a particular bit on. |