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.
For each loop explanation on Wikipedia.
Attribute | Type | Description |
---|---|---|
Input | Type | Description |
---|---|---|
Output | Type | Description |
---|---|---|
Data Type
Drop-down
The Variable Type that populates the Array.
Error Mode
Drop-down
The action that takes place if there is an Error. The user can choose from Abort, Break, or Continue.
Pulse Input (►)
Pulse
A standard Input Pulse, to trigger the execution of the Node.
Array
Array
The referenced Array.
Pulse Output (►)
Pulse
A standard Output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution.
Value
Variable Type
The value of a Variable in the Array, whose type matches the type of the Array.
Index
Variable Type
The index of a Variable in the Array, whose type matches the type of the Array.
Array
Array
The referenced Array.
OnTypeError
(►)
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.
OnEnd
(►)
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.