From: utzoo!decvax!harpo!floyd!vax135!ariel!houca!hogpc!houxm!houxz!hocda!spanky!ka Newsgroups: net.lang.c Title: Re: C DEBUG macro (stop me if you"ve heard this) Article-I.D.: spanky.295 Posted: Fri Apr 29 14:40:59 1983 Received: Sat Apr 30 06:08:21 1983 References: <5085@unc.UUCP> To make a DEBUG macro which can handle arbitrary printf statements, say #define DEBUG(arglist) printf arglist and invoke with double parnethesis around the argument list, as in DEBUG(("x = %d\n", x)); Kenneth Almquist