if

Execute nested commands once if the conditional expression is non zero.

if EXPRESSION

  • EXPRESSION – A conditional expression.

The conditional expression must follow the word “if” and must in turn be followed by a new line. The nested commands must be entered one per line and terminated by the word “else” or “end”.

If an else clause is used, the same rules apply to its nested commands as to the first ones.