| summaryrefslogtreecommitdiff |
diff options
| author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2020-12-22 23:34:09 +0100 |
|---|---|---|
| committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2020-12-22 23:34:09 +0100 |
| commit | 7272d83113545ec46b35ea440811dfc7da7634e1 (patch) | |
| tree | 40642cdafdf859c63e0c8e3b6d02d3e4ba8eabf7 /content/fate_v1/computations/conditionals/_index.md | |
| parent | 563f9cab92c48a2bd003c10248f21007e5ff64e6 (diff) | |
...
Diffstat (limited to 'content/fate_v1/computations/conditionals/_index.md')
| -rw-r--r-- | content/fate_v1/computations/conditionals/_index.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/content/fate_v1/computations/conditionals/_index.md b/content/fate_v1/computations/conditionals/_index.md index 2953489..7b65294 100644 --- a/content/fate_v1/computations/conditionals/_index.md +++ b/content/fate_v1/computations/conditionals/_index.md @@ -12,14 +12,14 @@ Returns `C0` is `[BOOL]` yields true, `C1` otherwise. ### COND {{< fatecode >}}(cond ([B0 = BOOL] [C0 = COMPUTATION]) ... ([BN = BOOL] [CN = COMPUTATION])){{< /fatecode >}} -Returns `<Ci>`, such that `<Bi>` is the first to hold true. If there is not such +Returns `[CI]`, such that `[BI]` is the first to hold true. If there is not such `Bi`, returns `[CN]`. ### SWITCH {{< fatecode >}}(switch [T = COMPUTATION] ([V0 = COMPUTATION] [C0 = COMPUTATION]) ... ([VN = BOOL] [CN = COMPUTATION]) [D = COMPUTATION]){{< /fatecode >}}a -Returns the first `Ci` such that `Vi` is equal to `T`. If there is not such -`Vi`, returns `[D]`. +Returns the first `CI` such that `VI` is equal to `T`. If there is not such +`VI`, returns `[D]`. ## Examples {{< fatecode >}}(cond |


