Skip to content

TListAssignOp

List assign operation.

Declaration

Source position: classesh.inc line 491

type
  TListAssignOp = (laCopy,laAnd,laOr,laXor,laSrcUnique,laDestUnique)

Values

Value Description
laCopy Clear list and copy all strings from second list.
laAnd Remove all elements not first second list.
laOr Add all elements from second (and optional third) list, eliminate duplicates.
laXor Remove elements in second lists, Add all elements from second list not in first list.
laSrcUnique Just keep all elements that exist only in source list.
laDestUnique Keep all elements that exists only in list2.

Description

This type determines what operation TList.Assign or TFPList.assign performs.

See also

Name Description
TList.Assign Copy the contents of other lists.
TFPList.assign Assign performs the given operation on the list.