CTRL(X) in ANSI standard (last one I hope)

Mark Purtill Purtill at MIT-MULTICS.ARPA
Fri May 17 08:22:50 AEST 1985


<Fnord>
I'm suprised no one caught me on this. When I said
>#define CTRL(XX) ( ($XX)[0] & '\037')
I should have said
>#define CTRL(XX) ( (#XX)[0] & '\037')
(ie, the $ should have been a #!!)  Sorry about that...

       Mark
^.-.^  Purtill at MIT-MULTICS.ARPA    **Insert favorite disclaimer here**
(("))  2-032 MIT Cambrige MA 02139



More information about the Comp.lang.c mailing list