| summaryrefslogtreecommitdiff |
diff options
| author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2020-12-22 07:07:33 +0100 |
|---|---|---|
| committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2020-12-22 07:07:33 +0100 |
| commit | 597ea6382389861cc16f494c474af8b40e3c392a (patch) | |
| tree | 644985f7e22c68a4fe12dfbad29f528b89967848 /content/fate_v1/instructions/loops | |
| parent | 36465a7d2acb73ae2356596845994fc8814ef279 (diff) | |
...
Diffstat (limited to 'content/fate_v1/instructions/loops')
| -rw-r--r-- | content/fate_v1/instructions/loops/_index.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/content/fate_v1/instructions/loops/_index.md b/content/fate_v1/instructions/loops/_index.md index 03c0f3b..d3c8d65 100644 --- a/content/fate_v1/instructions/loops/_index.md +++ b/content/fate_v1/instructions/loops/_index.md @@ -17,10 +17,10 @@ Executes `[I0]` ... `[IM]`, and does so again as long as, `[BOOL]` yields true. ### FOR -{{< fatecode >}}(for <pre = INSTRUCTION> [BOOL] <post = INSTRUCTION> [I0 = INSTRUCTION] ... [IM = INSTRUCTION]){{< /fatecode >}} +{{< fatecode >}}(for [PRE = INSTRUCTION] [BOOL] [POST = INSTRUCTION] [I0 = INSTRUCTION] ... [IM = INSTRUCTION]){{< /fatecode >}} -Executes `<pre>`, then, if and as long as `[BOOL]` yields true, executes -`[I0]` ... `[IM]` followed by `<post>`. +Executes `[PRE]`, then, if and as long as `[BOOL]` yields true, executes +`[I0]` ... `[IM]` followed by `[POST]`. ### FOR EACH {{< fatecode >}}(foreach [COLLECTION] {String} [I0 = INSTRUCTION] ... [IM = INSTRUCTION]){{< /fatecode >}} |


