then Clause

The then clause specifies which statements to execute when the conditional statement evaluates to true.

Syntax

logical.exp then 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.

then statement.block

Executes the specified statements if the logical expression evaluates to nonzero.

See Also

Boolean Evaluation

else Clause

end Statement

lock Statement

locked Clause

match Relational Operator

not() Function

null Statement

onerr Clause

open Statement

readt Statement

Statements and Functions

then/else Statement Blocks

writet Statement