Loops
Loops allow you to continuously execute a set of functions across a list of items. An example might be if you have a list of items being returned from the database that you wanted to either modify or delete. Loops are a perfect use case for this scenario.
There are a few different types of Loop functions:
For Each Loop - Iterate through a list of items until the end of the list is reached
For Loop - Iterate through a list a specific number of times
While Loop - Iterate through a list while a condition is true
Loop: Break - Break out of a loop
Loop: Continue - Continue iterating through a list
For Each Loop: Remove Entry - Remove the current entry from the list being iterated upon.
Last updated