The else clause is the inline clause for the if statement to execute when it evaluates to false.
Syntax
logical.exp else statement.block |
Parameter(s)
logical.exp |
Expression to be tested. If it evaluates to nonzero, it is considered true. If it evaluates to 0, it is false. |
else statement.block |
Executes the specified statements if the logical expression evaluates to 0. |
See Also
Boolean Evaluation, if Statement, Logical Expressions, onerr Clause, Statement Blocks, Statements and Functions, then Clause, then/else Statement Blocks, writet Statement