View Single Post
Old 10-20-2006, 01:19 PM   #1 (permalink)
poorchava
Forum Newbie
 
poorchava's Avatar
 
Join Date: May 2006
Location: Wroclaw, Poland
Age: 21
Posts: 63
Send a message via MSN to poorchava
Default switching with 2 variables

Can i use switch with more than one argument? I mean something like this:
Code:
switch(a,b)
{
case 1,5:P{some stuff}
case 1,6:P{some stuff}
case 1,7:P{some stuff}
case 2,5:P{some stuff}
case 3,5:P{some stuff}

}
poorchava is offline   Reply With Quote