This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
jvs:fscan:manual:chapter2:if [2011/03/31 14:49] 127.0.0.1 external edit |
jvs:fscan:manual:chapter2:if [2023/02/23 18:43] (current) |
||
---|---|---|---|
Line 4: | Line 4: | ||
**or:** -if ! EXPR { COMMANDS } | **or:** -if ! EXPR { COMMANDS } | ||
===== ===== | ===== ===== | ||
- | The EXPR argument to IF must be an expression that will yield a numerical value. | + | *EXPR -This argument to IF must be an expression that will yield a numerical value. |
If EXPR > 0, the COMMANDS string inside the curly brackets will be executed next.\\ | If EXPR > 0, the COMMANDS string inside the curly brackets will be executed next.\\ | ||
- | If EXPR <= 0, the COMMANDS string will be ignored. | + | Otherwise, the COMMANDS string will be ignored. |
EXPR can be a single number, an arithmetic expression, or a [[jvs: | EXPR can be a single number, an arithmetic expression, or a [[jvs: |