Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!wuarchive!psuvax1!rutgers!cmcl2!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.std.c Subject: Re: Proposed Enhancement to select/case (yes, I know...) Message-ID: <13857@smoke.BRL.MIL> Date: 14 Sep 90 19:14:19 GMT References: <13719@smoke.BRL.MIL> <740@garth.UUCP> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 8 In article <740@garth.UUCP> fouts@bozeman.bozeman.ingr.UUCP (Martin Fouts) writes: >The problem is hinted at by Doug Gwyn in his parenthetic comment >"(These are numbers, not characters!)" The portable solution is to >define behavior for characters, thus ending the debate. My point is that you switch on the value of an integer, not on a character. There are already character classification mechanisms available, just not using "switch".