Core.Actions.ListConcatenate

From emotive
Jump to navigation Jump to search

Classification

Name ListConcatenate
Short Description Joins two lists together
Class Action
Extension OTX Core library
Group ListModifiers related actions
Exceptions -
Checker Rules Core_Chk031
Standard Compliant Yes

OTL Syntax

ListConcatenate(ListVariable, {ListTerm1, ListTerm2, ...});

Description

The OTX ListConcatenate activity jions two or more lists together. The new list contains at the beginning of their old elements and at the end of the elements of the other list. The order of the elements in the list is not changed.

Properties

Name Data Type Class Default Cardinality Description
List List Variable - [1] List of items to which the other list is attached
OtherList List Term - [1] List of items, which are attached to the first list

OTL Examples

List<Integer> List1;

ListConcatenate(List1, {{1, 2, 3}, {4, 5}});

See also

Assignment
ProcedureCall
ShiftRight
ShiftLeft
SetBit
ReplaceSubByteField
AppendByteField
ListAppendItems
ListInsertItems
ListRemoveItems
ListClear
MapUnion
MapPutItems
MapRemoveItems
MapClear