Name and Syntax | Returns | Description | |
<Sequence> ->at(<Integer>) | Entity | Returns the element at position <Integer>. <Sequence> must be expressed as a unique alias. | |
<Sequence> ->first | Entity | Returns the first element of <Sequence>. <Sequence> must be expressed as a unique alias. | |
<Sequence> ->last | Entity | Returns the last element of <Sequence>. <Sequence> must be expressed as a unique alias. | |
<Sequence> ->subSequence(integer1,integer2) | Entity | Returns a Sequence containing all elements of <Sequence> between the positions integer1 and integer2. | |
<Sequence> ->first(integer) | Entity | Returns a Sequence containing elements of <Sequence> from the first element to integer; in other words, ->first(x) is effectively >subSequence(1,x) | |
<Sequence> ->last(integer) | Entity | Returns a Sequence containing elements of <Sequence> between the end position of the collection and integer; in other words, in a sequence of n elements, ->last(x) is effectively >subSequence(n-x+1,n) | |
<Attribute> -> <Sequence>.trend | String | Returns a 4-character string, INCR, DECR, CNST, or NONE depending on the trend of <Attribute> within <Sequence>. | |
mavg(elements) | |||
<Sequence.decimal> .mavg(elements:Integer) | Decimal | Returns a single decimal value that is the average of the number of elements specified. | |
Sorted Alias: next | |||
->next | Operates against a Sorted Alias (a special cached Sequence) inside a filter expression. The Rulesheet is set into a Ruleflow that iterates to bind the alias in each successive invocation to the next element in the sequence. For more information, see the topic Sorted aliases . |