Case, Case Else Statements

These instructions are used within a Select...Case...End Select series of statements.  Each Case specifies possible matches for the value to be matched and delineates the statements to be executed if a match occurs.

Selectmatch_value
   Casetest_expression, ..., test_expression
     case_statements
         :
[ Casetest_expression, ..., test_expression
     [case_statements]]
[ Case Else
     [else_statements]]
End Select

Prerequisites

Can only be specified within a Select...Case...End Select series of statements.

Remarks

Please see the documentation on the Select...Case...End Select statements for an explanation on the use of the Case and Case Else instructions.

See Also

Statements |Select...CaseStatements