Sign in Join
FPDoc Onlineexperiment

TFPGObjectList.Assign procedure

Member of TFPGObjectListpublicIn unit fgl

Copy objects from Source list.

Declaration

pascal
procedure Assign(Source: TFPGObjectList)

Arguments

Source

Source list to copy items from.

Description

Assign clears the list and copies all items in Source to the list. The source list must be of the same type as the destination list.

Take care if both the list owns the objects (i.e. have FreeObjects set to True), this may result to access violations.

See also

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