OTX ListCopy

From emotive
Jump to: navigation, search

Classification

Name ListCopy
Short Description Returns the copy of a list
Class Term
Extension OTX Core library
Group List realed terms
Exceptions -
Checker Rules -
Standard Compliant Yes

OTL Syntax

ListTerm = ListCopy(ListTerm);

Description

ListCopy is a term, which returns the copy of a list.

Exclamation.png Important: Please keep in mind that this TermActivity in the form of an activity exists and no text can be entered. According to the respective ActionNode can further properties are added.

Return Value

The Term returns the value, see table below.

Icons Note.png In OTX, Terms are categorized according to its return data type!
Data Type Description
List Return of the copy of the list

Properties

Name Data Type Class Default Cardinality Description
ListTerm List Term - [1] List to be copied

OTL Examples

List<integer> list = {1,2,3};
List<Integer> result;
result = ListCopy(list);
//Returns result = {1,2,3}

See also

ListGetLength
ListContainsValue