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

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


en:autorun:documentation:cond_if

If..EndIf

If <comdition 1> Then
  ...
ElseIf <condition 2> Then
  ...
Else
  ...
EndIf

Simple condition.

If there is no need to execute alternative code branches and the expression to be executed can be written in one line, you can use a single-line notation:

If <condition 1> Then ...

You can use any valid expressions in conditions that evaluate to true or false. A string equal to «1» is taken as true, «0» or an empty string is taken as false.

Related

Switch..EndSwitch

en/autorun/documentation/cond_if.txt · Последнее изменение: 2022/09/26 17:43 — loopback

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki