Difference between revisions of "Core.Terms.ListGetLength"
Jump to navigation
Jump to search
m (Hb moved page ListGetLength to Core.Terms.ListGetLength: #3153) |
|||
Line 1: | Line 1: | ||
− | [[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]] | [[Core|OTX Core library]] | [[List realed terms]] | - | - }} | ||
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| [[Integer]] | Return of the number of elements of the list}} | + | {{TermReturnValue| [[[Core.DataTypes.SimpleDataType.Integer|Integer]] | Return of the number of elements of the list}} |
== Properties == | == Properties == | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{TableRowPropertie1| List | [[List]] | [[Term]] | - | [1] | Source List}} | + | {{TableRowPropertie1| List | [[Core.DataTypes.ComplexDataType.ContainerDataType.List|List]] | [[Term]] | - | [1] | Source List}} |
|} | |} | ||
Line 30: | Line 30: | ||
== See also == | == See also == | ||
− | [[ListContainsValue]] <br/> | + | [[Core.Terms.ListContainsValue|ListContainsValue]] <br/> |
− | [[ListCopy]] | + | [[Core.Terms.ListCopy|ListCopy]] |
Revision as of 04:05, 5 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