From: utzoo!decvax!harpo!seismo!hao!cires!nbires!crp
Newsgroups: net.unix-wizards
Title: Re: Multiple statements in C macros: C s - (nf)
Article-I.D.: nbires.124
Posted: Tue Jan 11 20:10:58 1983
Received: Fri Jan 14 00:38:38 1983
References: ima.277

One place you might easily want to put multiple statments into a macro
is when putting debug or checkout code into a program.
I find that with something like a complex driver it is never the
right time to actually remove any consistency checking code -- but it
is nice to turn it off in "production" versions.
Putting things in #ifdef , #endif  sections in the code is very
messy visually -- whereas putting a macro call
(or more likely, statements as an argument to a macro) isn't distracting
and allows the same freedom to turn on/off code by changing
the macro definition.