Operator Reference
default (Operator)
default
— Alternative branch in a switch
block.
Signature
default( : : : )
Description
default
opens an alternative branch in a switch
block.
This branch is accessed if the calculated control expression of the
switch
statement does not match any of the integer constants
of the previous case
statements.
Result
default
(as an operator) always returns 2 (
H_MSG_TRUE)
.
Alternatives
See also
Module
Foundation