Use the tabs on the upper right to switch to a different programming language.

Use the tabs on the upper right to switch to a different programming language.

Use the tabs on the upper right to switch to a different programming language.

Use the tabs on the upper right to switch to a different programming language.

elseelseElseElseelse (Operator)

Name

elseelseElseElseelse — Alternative of conditional statement.

Signature

else( : : : )

Herror else()

Herror T_else()

void Else()

static void HOperatorSet.Else()

def else() -> None

Description

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

Result

elseelseElseElseElseelse (as operator) always returns TRUE.

Alternatives

ififIfIfIfif, elseifelseifElseifElseifElseifelseif

See also

untiluntilUntilUntilUntiluntil, forforForForForfor, whilewhileWhileWhileWhilewhile

Module

Foundation