A Select Case block is an efficient
decision-making structure that simplifies choosing
among several actions.
It avoids complex nested If constructs. If blocks make decisions
based on
the truth value of a condition; Select Case choices are determined by the
value
of an expression called a
selector. Each of the possible
actions is preceded by a clause
of the form
Case valueList
where
valueList itemizes the values of the selector for which the
action should be taken.