Sign in Join
FPDoc Onlineexperiment

TFPSList.Assign procedure

Member of TFPSListpublicIn unit fgl

Copy one list to another.

Declaration

pascal
procedure Assign(Obj: TFPSList)

Arguments

Obj

Source list from which to copy items.

Description

Assign clears the list and will add all items from Obj to the list. The items are copied one by one.

Errors

If the ItemSize differs for the two lists, an EListError exception is raised.

See also

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