en:documentation:conditions
Различия
Показаны различия между двумя версиями страницы.
Следующая версия | Предыдущая версияПоследняя версияСледующая версия справа и слева | ||
en:documentation:conditions [2019/01/09 12:41] – внешнее изменение 127.0.0.1 | en:documentation:conditions [2020/04/07 13:40] – loopback | ||
---|---|---|---|
Строка 1: | Строка 1: | ||
- | ====== | + | ====== |
Here is one and only conditional statement: | Here is one and only conditional statement: | ||
< | < | ||
- | If [Not] < | + | If < |
... | ... | ||
- | ElseIf | + | ElseIf < |
... | ... | ||
Else | Else | ||
Строка 13: | Строка 13: | ||
</ | </ | ||
- | For numeric comparison operator | + | In conditions, you can use any valid [[expressions|expression]], |
- | Variables are always expanding in the expressions. If you assume that variable value can conatin spaces, wrap expression in quotes. Example: | + | **Legacy command use** |
- | + | ||
- | < | + | |
- | If (" | + | |
- | </ | + | |
- | + | ||
- | Also, some special functions can be used in comparison. In this case comparison limited to only one function. | + | |
+ | In Autorun before version 2.0.10, only certain special functions could be used in conditions, while the condition was limited to one function. In later versions, this option is left for compatibility. | ||
< | < |
en/documentation/conditions.txt · Последнее изменение: 2020/04/24 16:30 — loopback