switchon(x) case .isstring then printf('A1'); notcase .isinteger then printf('A2'); case = 2 orcase = 3 then printf('A3'); case > 4 andcase < 15 then printf('A4'); else printf('A5'); endswitchon;