Sign in Join
FPDoc Onlineexperiment

TObjectList.Create constructor

Member of TObjectListpublicIn unit Contnrs

Create a new object list.

Declaration

pascal
constructor Create
constructor Create(FreeObjects: Boolean)

Arguments

FreeObjects

Should removed items be freed from memory.

Description

Create instantiates a new object list. The FreeObjects parameter determines whether objects that are removed from the list should also be freed from memory. By default this is True. This behaviour can be changed after the list was instantiated.

Errors

None.

See also

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