Proposed Enhancement to select/case (yes, I know...)

diamond@tkovoa diamond at tkou02.enet.dec.com
Fri Aug 31 18:04:11 AEST 1990


In article <13714 at smoke.BRL.MIL> gwyn at smoke.BRL.MIL (Doug Gwyn) writes:
>In article <1990Aug30.164610.3519 at zoo.toronto.edu> henry at zoo.toronto.edu (Henry Spencer) writes:
>>In article <BURLEY.90Aug30030645 at world.std.com> burley at 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

>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.

The Pascalisms were not removed.  Prototypes, pointers to array types,
and the requirement to diagnose violations of syntax and constraints
made it into the final edition.  There are probably others too.

-- 
Norman Diamond, Nihon DEC       diamond at tkou02.enet.dec.com
We steer like a sports car:  I use opinions; the company uses the rack.



More information about the Comp.std.c mailing list