switch ( x ) case 1 disp("it is 1"); case { 5,6,7 } disp("it is 5, or 6 or 7"); otherwise disp("unknown!"); endswitch