For Each Loop
Last updated
Last updated
The For Each Loop Node triggers an iterative process that steps through the provided Array input. The output can then, for example, be printed to the Console or affect the next Node in the Logic Branch.
Attribute | Type | Description |
---|---|---|
| Drop-down | The Variable Type that populates the Array. |
| Drop-down | The action that takes place if there is an Error. The user can choose from Abort, Break, or Continue. |
Input | Type | Description |
---|---|---|
Pulse Input (►) | Pulse | A standard Input Pulse, to trigger the execution of the Node. |
| Array | The referenced Array. |
Output | Type | Description |
---|---|---|
Pulse Output (►) | Pulse | A standard Output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution. |
| Variable Type | The value of a Variable in the Array, whose type matches the type of the Array. |
| Variable Type | The index of a Variable in the Array, whose type matches the type of the Array. |
| Array | The referenced Array. |
| Pulse | A Pulse that flows to some action that can alert the user of a Type Error, such as printing a message to the Console. |
| Pulse | A Pulse that flows to some action that can alert the user that the loop has ended, such as printing a message to the Console. |
For each loop explanation on Wikipedia.