Sign in Join
FPDoc Onlineexperiment

TFPObjectList.Create constructor

Member of TFPObjectListpublicIn unit Contnrs

Create a new object list.

Declaration

pascal
constructor Create
constructor Create(FreeObjects: Boolean)

Arguments

FreeObjects

Should objects be freed when removing them from the list.

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.