From ff9bc534597c7929af295b7f67829ee13529392a Mon Sep 17 00:00:00 2001 From: PyroScope Project Date: Wed, 15 Mar 2017 23:38:58 +0100 Subject: [PATCH] more details on if vs. branch --- COMMAND-Conditional.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/COMMAND-Conditional.md b/COMMAND-Conditional.md index 977198b..1526177 100644 --- a/COMMAND-Conditional.md +++ b/COMMAND-Conditional.md @@ -1,6 +1,6 @@ **TODO** clean this up, for now collect snippets -There are the `if` and `branch` commands to implement conditional execution of other commands. The difference is that `if` takes an expression for the condition, while `branch` takes a command name (and evaluates it). +There are the `if` and `branch` commands to implement conditional execution of other commands. The difference is that `if` takes argument expressions, while `branch` takes a command list and then does its own evaluation. The following example shows a method definition, using `if` with `(…)` syntax for its arguments: