Using Expressions
Expressions are used by the if/else, for/while, switch, and eval commands. Expressions are also used in function calls and in assigning variables.
For commands with expressions, evaluation of variables within the expression is deferred until the command is executed. With other commands, variables are substituted when the command is compiled, unless the execute command is used to defer evaluation.
Related Topics