[Overview][Constants][Types][Classes][Procedures and functions][Variables] | Reference for unit 'Classes' (#fcl)

# TBits.Bits

Access to all bits in the array.

## Declaration

`public property TBits.Bits: 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

TBits.Size |  | Current size of the array of bits.