Skip to main content

This documentation is for an older version of this product. See the latest version of this content.Opens in a new tab

ELSEIF (ObjectScript)

Clause of block-oriented IF command.

Synopsis

ELSEIF expression,... { code }

Refer to IF command for complete syntax.

Description

ELSEIF is not a separate command, but a clause of the block-oriented IF command. You can specify one or more ELSEIF clauses in an IF command, or you can omit the ELSEIF clause.

ELSEIF evaluates a boolean expression (or a comma-separated list of boolean expressions) and executes the code block if all expressions evaluate to true. If there are multiple ELSEIF clauses, only the first one that evaluates to true executes. Refer to the IF command for details and examples.

See Also

FeedbackOpens in a new tab