Newsgroups: comp.lang.c
Path: utzoo!henry
From: henry@zoo.toronto.edu (Henry Spencer)
Subject: Re: Macros with multi-line results?
Message-ID: <1991Jan11.174219.6747@zoo.toronto.edu>
Organization: U of Toronto Zoology
References: <16101@burdvax.PRC.Unisys.COM>
Date: Fri, 11 Jan 1991 17:42:19 GMT

In article <16101@burdvax.PRC.Unisys.COM> fritzson@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@zoo.toronto.edu   utzoo!henry
