16.05.2010, 20:36
Your last (?) case, case 12, is not within the brackets -> { } of switch.
Your code does somehow look like this:
After you close the switch clause you throw in another "case 12:".
However it obv. needs to be within the switch brackets.
Your code does somehow look like this:
Код:
switch(whateverValue){
case 1: ..
case 2: ..
}
Код:
switch(whateverValue){
case 1: ..
case 2: ..
...
} // <- switch-case gets closed
case 12: // case 12 is outside the switch code

