For Loop
Loops through a block of code a specified number of times.
When to use?
The for loop is used when you know how many times you should repeat a block of code.
How to use:
- In the COUNT field, enter the number of how many times you want loop through a block of code
- In the STATUS VARIABLE field, enter the name under which you'll be able to access individual array items, for example: statusVar
- You can place any number of other elements inside of the For element
- To access array indexes, use this syntax: statusVar.index
- If you want to output array indexes, counting from number one instead of zero, use this: statusVar.natural
- To identify the first, or the last iteration, use this syntax: statusVar.first, statusVar.last