Actually, the CASE is constructed correctly (it is syntactically correct) but it will always evaluate to true since e.g. '3' is not false. Anyway, I assume you rather want to do what Richard is proposing.
_________________________
There are two types of vessels, submarines and targets.