author | Myhailo Danylenko <isbear@ukrpost.net> |
Sun, 14 Mar 2010 23:14:37 +0200 | |
changeset 9 | 70bb1e988a4a |
parent 0 | 7707b26e82fd |
permissions | -rw-r--r-- |
0 | 1 |
|
2 |
/IF [expression] |
|
3 |
/THEN command |
|
4 |
/ELSE command |
|
5 |
||
6 |
Evaluates expression and stores true if expression evaluates to non-zero integer or non-unset string, false if it evaluates to unset value, integer zero or unset string. |
|
7 |
Then and else commands can be called any number of times - they will use the same stored value. |
|
8 |
For details on expression syntax see help for eval command. |
|
9 |
Example: |
|
10 |
/if fifo_name |
|
11 |
/then load fifo |
|
12 |
/else echo "fifo_name not set, fifo module not loaded" |