switch (x) {
case 0200:
//doSomething0();
// 0010
break;
case 0400:
// 0100
// doSomething1();
break;
case 0800:
// doSomething2();
break;
case 0600:
// doSomething3();
break;
case 0A00:
// doSomething4();
break;
case 1200:
// doSomething4();
break;
case 0C00:
// doSomething4();
break;
case 1400:
// doSomething4();
break;
case 1800:
// doSomething4();
break;
case 0E00:
// doSomething4();
break;
case 1600:
// doSomething4();
break;
case 1C00:
// doSomething4();
break;
case 1A00:
// doSomething4();
break;
case 1E00:
// doSomething4();
break;
default:
//doSomethingElse();
}
|