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

Doug Gwyn gwyn at smoke.BRL.MIL
Sat Sep 15 05:14:19 AEST 1990


In article <740 at garth.UUCP> fouts at 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".



More information about the Comp.std.c mailing list