This is what I want to do:
switch(myvar) { case: 2 or 5: ... break; case: 7 or 12: ... break; ... }
I tried wi
By stacking each switch case, you achieve the OR condition.
switch(myvar) { case 2: case 5: ... break; case 7: case 12: ... break; ... }