Skip to content

TBits.Grow

Expands the bits array to the requested size.

Declaration

Source position: classesh.inc line 412

public 
  procedure Grow(NBit: LongInt);

Description

Grow expands the bit array so it can at least contain nbit bits. If nbit is less than the current size, nothing happens.

Errors

If there is not enough memory to complete the operation, then an EBitsError is raised.

See also

Name Description
Size Current size of the array of bits.