Skip to content

TFPSList.AddList

Adds the elements from another list.

Declaration

Source position: fgl.pp line 92

public 
procedure TFPSList.AddList(Obj: TFPSList);

Description

AddList adds all the elements from list Obj to the current list. A check is done that the 2 lists have the same element size.

Errors

If the lists have different element size, an EListError exception will be raised.

See also

Name Description
TFPSList.Add Add a new item to the list.
EListError Exception thrown when a list-related error occurs.