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

TBits.Bits

Access to all bits in the array.

Declaration

Source position: classesh.inc line 287

public property TBits.Bits: Boolean
  read get
  write SetBit;
  default;

Description

Bitsallows indexed access to all of the bits in the array. It gives Trueif the bit is 1, Falseotherwise; 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 EBitsErrorexception is raised.

See also

Size

  

Current size of the array of bits.