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:

  1. In the COUNT field, enter the number of how many times you want loop through a block of code
  2. In the STATUS VARIABLE field, enter the name under which you'll be able to access individual array items, for example: statusVar
  3. You can place any number of other elements inside of the For element
  4. To access array indexes, use this syntax: statusVar.index
  5. If you want to output array indexes, counting from number one instead of zero, use this: statusVar.natural
  6. To identify the first, or the last iteration, use this syntax: statusVar.first, statusVar.last