Skip to content

else🔗

Only available for HDevelop

Short description🔗

else — Alternative of conditional statement.

Signature🔗

else( : : : )

Description🔗

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

Result🔗

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

Combinations with other operators🔗

Combinations

Alternatives

if, elseif

See also

until, for, while

Module🔗

Foundation