From 7272d83113545ec46b35ea440811dfc7da7634e1 Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Tue, 22 Dec 2020 23:34:09 +0100 Subject: ... --- content/fate_v1/instructions/conditionals/_index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'content/fate_v1/instructions/conditionals/_index.md') diff --git a/content/fate_v1/instructions/conditionals/_index.md b/content/fate_v1/instructions/conditionals/_index.md index e129b1b..39a51b3 100644 --- a/content/fate_v1/instructions/conditionals/_index.md +++ b/content/fate_v1/instructions/conditionals/_index.md @@ -11,9 +11,9 @@ local variables' point of view. Executes `[INSTRUCTION]` if, and only if, `[BOOL]` yields true. ### IF-ELSE -{{< fatecode >}}(if_else [BOOL] ){{< /fatecode >}} +{{< fatecode >}}(if_else [BOOL] [IF_TRUE = INSTRUCTION] [IF_FALSE = INSTRUCTION]){{< /fatecode >}} -Executes `` if `[BOOL]` yields true, but `` if it does not. +Executes `[IF_TRUE]` if `[BOOL]` yields true, but `[IF_FALSE]` if it does not. ### COND {{< fatecode >}}(cond ([C0 = BOOL] [I0 = INSTRUCTION]) ... ([CN = BOOL] [IN = INSTRUCTION])){{< /fatecode >}} -- cgit v1.2.3-70-g09d2