Macros with multi-line results?

Henry Spencer henry at zoo.toronto.edu
Sat Jan 12 04:42:19 AEST 1991


In article <16101 at burdvax.PRC.Unisys.COM> fritzson at PRC.Unisys.COM (Richard Fritzson) writes:
>I am trying to write a macro which generates more than one line of
>output...

You can't.

(At least, not unless your compiler's preprocessor has some nonstandard
feature that you can exploit to achieve it.)

The C preprocessor is not a general-purpose macro processor.
-- 
If the Space Shuttle was the answer,   | Henry Spencer at U of Toronto Zoology
what was the question?                 |  henry at zoo.toronto.edu   utzoo!henry



More information about the Comp.lang.c mailing list