Sign in Join
FPDoc Onlineexperiment

TList.Assign procedure

Member of TListpublicIn unit Classes

Copy the contents of other lists.

Declaration

pascal
procedure Assign(ListA: TList; AOperator: TListAssignOp=laCopy; 
 ListB: TList=Nil)

Description

Assign can be used to merge or assign lists It is an extended version of the usual TPersistent.Assign mechanism. The arguments ListA and ListB are used as sources of pointers to add or remove elements from the current list, depending on the operation AOperation. The available operations are documented in the TListAssignOp type.

See also

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