Инструменты пользователя

Инструменты сайта


en:documentation:conditions

Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Предыдущая версия справа и слеваПредыдущая версия
en:documentation:conditions [2020/04/07 13:40] loopbacken:documentation:conditions [2020/04/24 16:30] (текущий) loopback
Строка 14: Строка 14:
  
 In conditions, you can use any valid [[expressions|expression]], the result of which is equal to “true” or “false”. For true, a string equal to "1" is taken, for a false - "0" or an empty string. In conditions, you can use any valid [[expressions|expression]], the result of which is equal to “true” or “false”. For true, a string equal to "1" is taken, for a false - "0" or an empty string.
 +
 +Unlike expressions in command parameters, an expression in conditions is written without quotes with % sign in front of them:
 +
 +<code>
 +If %AUTORUN_TCARCH% = 32 Then
 +  ...
 +EndIf
 +
 +If FileExist("%COMMANDER_PATH%\NoClose.exe") Then
 +  ...
 +EndIf
 +</code>
  
 **Legacy command use** **Legacy command use**
en/documentation/conditions.txt · Последнее изменение: 2020/04/24 16:30 — loopback

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki