Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!haven!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: <13714@smoke.BRL.MIL> Date: 30 Aug 90 21:43:36 GMT References: <1990Aug30.164610.3519@zoo.toronto.edu> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 12 In article <1990Aug30.164610.3519@zoo.toronto.edu> henry@zoo.toronto.edu (Henry Spencer) writes: >In article burley@world.std.com (James C Burley) writes: >>... how about this: allow ranges (and, perhaps, lists) on case statements. >Such a feature appeared in one draft of ANSI C, and disappeared in the >next. I believe the reason was the usual: there was no implementation >experience with it, and it was a minor convenience rather than a solution >to a serious problem. That's why it vanished. Although it was before my time, I heard that the reason it appeared was that the preceding X3J11 meeting was held in Europe and was overrun with Pascal freaks. The Pascalisms were removed at the next meeting, where C freaks dominated.