[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Assign performs the given operation on the list.
Source position: classesh.inc line 256
public procedure TFPList.Assign( |
ListA: TFPList; |
AOperator: TListAssignOp = laCopy; |
ListB: TFPList = Nil |
); |
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.
|
Adds a new pointer to the list. |
|
|
Clears the pointer list. |