| ECHO ON | Index Level | END |
| Syntax | ELSE statement.block |
| Category | BASIC |
| Type | Statement |
| Description |
is the in-line clause for the "if" statement to execute when it evaluates to false.
See the "then/else construct" for an explanation on the use of "then" and "else" clauses in statements that allow or require them. |
| Options | |
| See Also | statements & functions IF THEN | ELSE statement.block THEN Boolean Evaluation logical expressions ONERR statement.block WRITET |
| Example |
if x = 5 then print "Five" else print "Not Five"
if x = 5 then begin print "Five" end else print "Not Five" if x = 5 then begin print "Five" end else print "Not Five" end |
| Warnings | |
| Compatibility | D3 7.0 AP R83 |
| ECHO ON | Index Level | END |