Core.Terms.ListGetLength

From emotive
Revision as of 10:38, 13 August 2014 by Nb (talk | contribs) (Created page with "Category:Core == Classification == {{ClassificationActivity | ListGetLength | Number of elements in the list | Term | OTX Core library | ByteField operation...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Classification

Name ListGetLength
Short Description Number of elements in the list
Class Term
Extension OTX Core library
Group ByteField operations
Exceptions -
Checker Rules -
Standard Compliant Yes

Pseudo-Code Syntax

Value = ListGetLength(ListTerm)

Description

ListGetLength is a term, which returns the number of elements in the list as a result.

Exclamation.png 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.

Icons Note.png In OTX, Terms are categorized according to its return data type!
Data Type Description
Integer Return of the number of elements of the list

Properties

Name Data Type Class Default Cardinality Description
List List Term - [1] Source List

Examples

List<integer> list = {1,2,3}
Integer result = ListGetLength(list)
//Returns result = 3

See also

ListContainsValue
ListCopy