This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
action:For_Each [2017/09/07 02:00] peternlewis [See also] |
action:For_Each [2020/07/16 21:18] JMichaelTX ADD block on looping actions |
||
---|---|---|---|
Line 3: | Line 3: | ||
- | The For Each action loops over a set of [collections](:Collections) of items, setting a variable to each value and executing the contained actions. | + | The For Each action loops over a set of [collections](:Collections) of items, setting a variable to each value and executing the contained actions.\\ |
+ | It is one of several Actions that _loop_ through a set of other Actions until some criteria is met. | ||
+ | |||
+ | **Looping Actions** | ||
+ | |||
+ | * [[action:For_Each|For Each]] action | ||
+ | * [[action:Repeat|Repeat]] action | ||
+ | * [[action:Until|Until]] action | ||
+ | * [[action:While|While]] action | ||
Whenever you need to deal with a list of things (lines, files, volumes, numbers, etc), the For Each action is a good place to start. | Whenever you need to deal with a list of things (lines, files, volumes, numbers, etc), the For Each action is a good place to start. |