Newsgroups: comp.lang.c Path: utzoo!utgpu!jarvis.csri.toronto.edu!csri.toronto.edu!flaps From: flaps@csri.toronto.edu (Alan J Rosenthal) Subject: Re: macros with parameters in MSC 5.0 Message-ID: <1988Feb20.173516.29974@jarvis.csri.toronto.edu> Organization: University of Toronto References: <11879@brl-adm.ARPA> Date: Sat, 20-Feb-88 17:35:16 EST In article <11879@brl-adm.ARPA> jbaker@ee.UCLA.EDU (Joe Baker) writes: >#define ctl(c) ('c'&037) ... >I have come up with some ugly fixes, but would like to know: what is >the Right Way to do this? how about #define ctl(c)((c) & 31) and call it as ctl('a') -- "noalias considered sailaon"