Difference between revisions of "Core.Terms.ListCopy"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
{{ClassificationActivity | ListCopy | Returns the copy of a list | [[Term]] | [[Core|OTX Core library]] | [[List realed terms]] | - | - }} | {{ClassificationActivity | ListCopy | Returns the copy of a list | [[Term]] | [[Core|OTX Core library]] | [[List realed terms]] | - | - }} | ||
− | == | + | == OTL Syntax == |
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | + | ListTerm = ListCopy(ListTerm); | |
</syntaxhighlight> | </syntaxhighlight> | ||
Line 21: | Line 21: | ||
|} | |} | ||
− | == Examples == | + | == OTL Examples == |
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | List<integer> list = {1,2,3} | + | List<integer> list = {1,2,3}; |
− | List<Integer> result = ListCopy(list) | + | List<Integer> result; |
+ | result = ListCopy(list); | ||
//Returns result = {1,2,3} | //Returns result = {1,2,3} | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 07:00, 4 February 2015
Contents
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.
![]() |
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.
![]()
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}