Sign in Join
FPDoc Onlineexperiment

TCollection.Init constructor

Member of TCollectionIn unit Objects

Instantiate a new collection.

Declaration

pascal
constructor Init(ALimit: Sw_Integer; ADelta: Sw_Integer)

Description

Init initializes a new instance of a collection. It sets the (initial) maximum number of items in the collection to ALimit. ADelta is the increase size : The number of memory places that will be allocated in case ALimit is reached, and another element is added to the collection.

For an example, see ForEach.

Errors

None.

See also

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