Difference between revisions of "Core.Terms.ListCopy"
Jump to navigation
Jump to search
(Created page with "Category:Core == Classification == {{ClassificationActivity | ListCopy | Returns the copy of a list | Term | OTX Core library | ByteField operations | - |...") |
|||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | [[Category:Core]] | + | {{DISPLAYTITLE:OTX '''ListCopy'''}}[[Category:Core]] |
== Classification == | == Classification == | ||
− | {{ClassificationActivity | ListCopy | Returns the copy of a list | [[Term]] | [[Core|OTX Core library]] | [[ | + | {{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 13: | Line 13: | ||
{{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.}} | {{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.}} | ||
− | {{TermReturnValue| [[List]] | Return of the copy of the list}} | + | {{TermReturnValue| [[Core.DataTypes.ComplexDataType.ContainerDataType.List|List]] | Return of the copy of the list}} |
== Properties == | == Properties == | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{TableRowPropertie1| ListTerm | [[List]] | [[Term]] | - | [1] | List to be copied}} | + | {{TableRowPropertie1| ListTerm | [[Core.DataTypes.ComplexDataType.ContainerDataType.List|List]] | [[Term]] | - | [1] | List to be copied}} |
|} | |} | ||
− | == 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> | ||
== See also == | == See also == | ||
− | [[ListGetLength]] <br/> | + | [[Core.Terms.ListGetLength|ListGetLength]] <br/> |
− | [[ListContainsValue]] | + | [[Core.Terms.ListContainsValue|ListContainsValue]] |
Latest revision as of 08:40, 16 February 2016
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}