Parameters—Case Statement
This statement has the following parameters:
key
Specifies a constant expression or a variable reference
valuelist
Specifies a single expression or a list of expressions of the same type as the key expression, separated by commas, or the keyword default
statement
Specifies a single statement
beginendblock