Sign in Join
FPDoc Onlineexperiment

TBits.Bits property

Member of TBitspublicIn unit Classes

Access to all bits in the array.

Declaration

pascal
property Bits[Bit: SizeInt]: Boolean read get write SetBit; default;

Description

Bits allows indexed access to all of the bits in the array. It gives True if the bit is 1, False otherwise; Assigning to this property will set, respectively clear the bit.

Errors

If an index is specified which is out of the allowed range then an EBitsError exception is raised.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.