Difference between revisions of "Extensions.Util.ListReverse"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
== OTL Syntax == | == OTL Syntax == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | ListTerm | + | ListTerm Util.ListReverse(ListTerm list); |
</syntaxhighlight> | </syntaxhighlight> | ||
Line 21: | Line 21: | ||
== OTL Examples == | == OTL Examples == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
+ | /// Local Declarations | ||
+ | |||
List<Integer> List1; | List<Integer> List1; | ||
Latest revision as of 03:09, 8 November 2018
Contents
Classification
Name | ListReverse |
Short Description | Creates a reversed list of the given list |
Class | Term |
Extension | OTX Util extension |
Group | Util related terms |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
ListTerm Util.ListReverse(ListTerm list);
Description
The OTX ListReverse term is a ListTerm that returns a copy of the given list in opposite sequence.
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 | The reversed list of the given list. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
List | List | Term | - | [1..1] | The List from which the reversed list shall be created. |
OTL Examples
/// Local Declarations
List<Integer> List1;
/// Flow
List1 = Util.ListReverse({1, 2, 3, 4, 5, 6, 7, 8, 9});
See also
Compare
CopyByteField
GetRandomNumber
IsInitialized
ListIndexOf
ListIndexOfAny
ListSort
Max
Min
StringFormat