[SOLVED]Errors...
#4

Your last (?) case, case 12, is not within the brackets -> { } of switch.

Your code does somehow look like this:

Код:
switch(whateverValue){
   case 1: ..
   case 2: ..
}
After you close the switch clause you throw in another "case 12:".

Код:
switch(whateverValue){
   case 1: ..
   case 2: ..
   ...
} // <- switch-case gets closed

case 12: // case 12 is outside the switch code
However it obv. needs to be within the switch brackets.
Reply


Messages In This Thread
[SOLVED]Errors... - by TheNuttyScientist - 16.05.2010, 20:27
Re: Errors... - by juice.j - 16.05.2010, 20:28
Re: Errors... - by TheNuttyScientist - 16.05.2010, 20:33
Re: Errors... - by juice.j - 16.05.2010, 20:36
Re: Errors... - by TheNuttyScientist - 16.05.2010, 20:50

Forum Jump:


Users browsing this thread: 1 Guest(s)