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

TBits.Clear

Clears a particular bit.

Declaration

Source position: classesh.inc line 271

public procedure TBits.Clear(

  Bit: LongInt

);

Description

Clearclears the bit at position bit. If the array If bitis at a position bigger than the current size, the collection is expanded to the required size using Grow.

Errors

If bitis larger than the maximum allowed bits array size or is negative, an EBitsErrorexception is raised.

See also

Bits

  

Access to all bits in the array.

seton

  

Clears a particular bit.