ListAddList

The ListAddList function adds elements from one list (listAdd) to the destination list (listDest). This function is available for both string lists and number lists; however, the types of listDest and listAdd must match.

Syntax

ListAddList (listDest, listAdd, nPlacementFlag);

Parameters

ListAddList Parameters

Parameter

Description

listDest

Specify the destination list. ListAddList adds new elements either before or after the current element of this list.

listAdd

Specify the list that contains the elements to be added to the destination list. ListAddList adds all elements (from the current element in this list to the last element in this list) to ListDest.

nPlacementFlag

Specify whether ListAddList should add the list elements before or after the current element of listDest. Available values are:

BEFORE
AFTER

Return Values

ListAddList Return Values

Return Value

Description

ISERR_SUCCESS

Indicates that the function was successful.

< ISERR_SUCCESS

Indicates that the function was not successful.