Classification
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
See also
ListContainsValue
ListCopy