switch (expression) { /* Just as in C */ |
case Constant1: /* Do following if expression=Constant1 */ |
/* Bunch of Stuff */ break; |
case Constant2: /* Do following if expression=Constant2 */ |
/* Bunch of Stuff */ break; |
default: |
/* Bunch of Stuff */ break; |
} |