[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Classes' (#rtl)

TList.Assign

Copy the contents of another list.

Declaration

Source position: classesh.inc line 271

public procedure TList.Assign(

  ListA: TList;

  AOperator: TListAssignOp = laCopy;

  ListB: TList = nil

);

Description

Assign copies the pointers of the Obj list to the list. The list is cleared prior to copying.

See also

TList.Clear

  

Clears the pointer list.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.