ClassesClasses | | Operators

Page not available for the currently selected syntax (programming language).

Page not available for the currently selected syntax (programming language).

Page not available for the currently selected syntax (programming language).

elseelseElseElse (Operator)

Name

elseelseElseElse — Alternative of conditional statement.

Signature

else( : : : )

Herror else()

Herror T_else()

void Else()

static void HOperatorSet.Else()

Description

elseelseElseElseElse continues after an ififIfIfIf or elseifelseifElseifElseifElseif block with an alternative block. If the conditions of all corresponding ififIfIfIf or elseifelseifElseifElseifElseif blocks evaluated to 'false'"false""false""false""false" (0), i.e., none of the corresponding ififIfIfIf or elseifelseifElseifElseifElseif blocks has been executed, the following elseelseElseElseElse block is executed.

Result

elseelseElseElseElse (as operator) always returns 2 (H_MSG_TRUE).

Alternatives

ififIfIfIf, elseifelseifElseifElseifElseif

See also

untiluntilUntilUntilUntil, forforForForFor, whilewhileWhileWhileWhile

Module

Foundation


ClassesClasses | | Operators