macro substitution in character literals

Alan J Rosenthal flaps at dgp.toronto.edu
Wed Dec 12 09:34:50 AEST 1990


>In article <14683 at smoke.brl.mil> gwyn at smoke.brl.mil (Doug Gwyn) writes:
>>There is no analogous "charize" operator.
>>It was deemed to be significantly
>>less useful than "stringizing", and did not have enough supporters to make
>>it into the standard.

diamond at tkou02.enet.dec.com ("diamond at tkovoa") writes:
>You mean it was not an oversight, that it was deliberate?
>Well, we certainly see evidence over and over again on the net.

We've certainly seen no reason to write the macro so that it is called like
CTRL(d) rather than CTRL('d').

And the request to be able to write chr(c) rather than 'c' shows an
unfamiliarity or uncomfortableness with C, just like people who #define NL '\n'
(or even worse, define it as 10).

ajr



More information about the Comp.std.c mailing list