TFPSList.Assign

Copy one list to another

Declaration

Source position: fgl.pp line 87

public 
  procedure Assign(Obj: TFPSList);

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 TFPSList.ItemSize differs for the two lists, an EListError exception is raised.

See also

Name Description
TFPSList.Add Add a new item to the list