Start » Filter Reference » Data Flow » Loop Utils » AccumulateElements
Module: | FoundationLite |
---|
Creates an array from elements appearing in many iterations.
Name | Type | Range | Description | |
---|---|---|---|---|
inElement | <T>? | Element to be put into an array | ||
inCondition | Bool | Flag indicating whether to put the input element into an array or not | ||
inMaxSize | Integer* | 0 - | Maximum number of last elements that are remembered | |
inReset | Bool | Reset accumulator state | ||
outArray | <T>Array | Array of accumulated elements |
The type of this filter is defined using the type variable T which represents any valid type. Read more.
Hints
- Instantiate this filter with a conditional type to create an array with conditional elements.
Examples
Description of usage of this filter can be found in examples and tutorial: Button Presence.
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | inMaxSize cannot be negative in AccumulateElements. |
Complexity Level
This filter is available on Basic Complexity Level.