Syntax
BEGINCASE expression { CASE value [ ,...n ] : <logic_block> } [ ... n ] [ OTHERWISE : <logic_block> ] ENDCASE
Parameters
BeginCase can be abbreviated as BC.
The BeginCase logic command is followed by a set of Case logic statements, then by an optional Otherwise logic statement, and finally by an EndCase logic statement.
expression
The control value to be tested.
Description
The BeginCase logic command specifies the control expression applicable to a case statement, which enables multiple conditions and applicable logic to be specified.
Refer to Case, Otherwise and EndCase.
Example
BeginCase AValue
Case 14
: Logic
Case 16
: Logic
Otherwise
: Logic
EndCase