Difference between revisions of "Core.Terms.ListGetLength"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{DISPLAYTITLE:OTX '''ListGetLength'''}}[[Category:Core]] | {{DISPLAYTITLE:OTX '''ListGetLength'''}}[[Category:Core]] | ||
== Classification == | == Classification == | ||
− | {{ClassificationActivity | ListGetLength | Number of elements in the list | [[Term]] | [[Core|OTX Core library]] | [[List realed terms]] | - | - }} | + | {{ClassificationActivity | ListGetLength | Number of elements in the list | [[Term]] | [[OtxReference#Core|OTX Core library]] | [[List realed terms]] | - | - }} |
== OTL Syntax == | == OTL Syntax == |
Revision as of 08:37, 16 February 2016
Contents
Classification
Name | ListGetLength |
Short Description | Number of elements in the list |
Class | Term |
Extension | OTX Core library |
Group | List realed terms |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
IntegerTerm = ListGetLength(ListTerm);
Description
ListGetLength is a term, which returns the number of elements in the list as a result.
![]() |
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 |
[[[Core.DataTypes.SimpleDataType.Integer|Integer]] | Return of the number of elements of the list |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
List | List | Term | - | [1] | Source List |
OTL Examples
List<Integer> list = {1,2,3};
Integer result;
result = ListGetLength(list)
//Returns result = 3