Switch inside switch?
#1

so like this...
Code:
switch(gunid)
{
     case 24:
     {
           switch(bodypart)
           {
	         case 3:
		{
			// something
		}
                //another case
	   }
     }
}
can I use that?
Reply
#2

yeah, that's possible, since it compiles without errors, and no bugs are caused nor complications / complexities
Reply
#3

Thank you, wasn't sure cos it's like wierd :P, repped you for fast answer
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)