ENDCASE directive

Indicates the end of a "multiple-selection" control structure.


No options or parameters


Description

A multiple-selection control structure consists of several alternative blocks of statements. The first of these is introduced by a CASE statement. This has a single parameter, which is an expression that must yield a single number. Subsequent blocks are each introduced by an OR statement. There can then be a final block, introduced by an ELSE statement, as in the block-if structure. The whole structure is terminated by an ENDCASE statement. Full details are given in the description of the CASE directive.


Options: none.

Parameters: none.


See also

Directives: CASE, OR, ELSE, EXIT.