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