Skip to main content

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

Purpose of this instance: Draft documentation
DocReleaseID: IRISforHealth2025.1
Content loaded from:
/staging/learning/iris-doc/2025.1.x/doc/cache/en-us/src/
/staging/learning/iris-doc/2025.1.x/doc/ensemble/en-us/src/
/staging/learning/iris-doc/2025.1.x/doc/security/en-us/src/
/staging/learning/iris-doc/2025.1.x/doc/irishealth/en-us/src/
/staging/learning/iris-doc/2025.1.x/doc/healthcommon/en-us/src/
Excluded items: GCONV
FeedbackOpens in a new tab