Hey,
Don't have much time here, and I am not checking the boards as much as I had even a couple weeks ago. I dont know if this will help, but here you go.. basic idea is this :
The syntax of a switch statement is :
switch (var)
{
case <x>:
<code>
<break or return>
case <y>:
<code>
<break or return>
default:
<code>
<break or return>
}
Where code can be any valid statement, including just returning or breaking right then. var is the variable you're checking against. Just remember to ALWAYS break or return at the end of EACH case, or it'll follow through to the next one! And you'll want to ALWAYS include a default statement (just in case the value isn't found earlier)
The <x>/etc MUST be constant.
So '1' is valid, and so is 1..
I hope that helps.