Latest revision |
Your text |
Line 1: |
Line 1: |
| __NOTOC__ | | __NOTOC__ |
| {{CustomHeader|Title=For Each Node}}
| | === Actor list variable node === |
| A “for each” loop is a concept in programming that allows you to perform a certain action for each item in a collection, such as a list or an array.
| |
|
| |
|
| Imagine you have a basket of fruits and you want to look at each fruit one by one. In programming terms, the basket is your collection (like a list or an array), and each fruit is an item in that collection.
| | === Add list element node === |
|
| |
|
| Here’s a simple analogy:
| | === Bool list variable node === |
|
| |
|
| *You start at the beginning of the basket.
| | === Color list variable node === |
|
| |
|
| *You pick up the first fruit, look at it (this is the action you’re performing).
| | === For each node === |
|
| |
|
| *You put that fruit down and pick up the next one.
| | === Get any list index by value node === |
|
| |
|
| *You repeat this process until you’ve looked at every fruit in the basket.
| | === Get list element by index node === |
|
| |
|
| In a “for each” loop, the computer does something similar. It starts at the beginning of the collection, performs an action for the first item, then moves on to the next item, and so on, until it has performed the action for every item in the collection.
| | === Get list index by value node === |
|
| |
|
| {{CustomHeader|Title=Get List Length Node}}
| | === Get list length node === |
| Returns the length (or the total number of entries in an array or list) and outputs this as a floored integer value.
| |
|
| |
|
| {{CustomHeader|Title=Actor List Variable Node}}
| | === Number list variable node === |
|
| |
|
| {{CustomHeader|Title=Add List Element Node}}
| | === Order list node === |
|
| |
|
| {{CustomHeader|Title=Bool List Variable Node}}
| | === Remove list element node === |
|
| |
|
| {{CustomHeader|Title=Color List Variable Node}}
| | === Replace list element node === |
|
| |
|
| {{CustomHeader|Title=Get Any List Index By Value Node}}
| | === String list variable node === |
|
| |
|
| {{CustomHeader|Title=Get List Element By Index Node}}
| | === Vector three list variable node === |
| | |
| {{CustomHeader|Title=Get List Index By Value Node}}
| |
| | |
| {{CustomHeader|Title=Number List Variable Node}}
| |
| | |
| {{CustomHeader|Title=Order List Node}}
| |
| | |
| {{CustomHeader|Title=Remove List Element Node}}
| |
| | |
| {{CustomHeader|Title=Replace List Element Node}}
| |
| | |
| {{CustomHeader|Title=String List Variable Node}}
| |
| | |
| {{CustomHeader|Title=Vector Three List Variable Node}}
| |