X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f Message-ID: <3C2BA8E3.446CF947@worldnet.att.net> From: Les Cargill X-Mailer: Mozilla 4.72 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP: #define problems References: <3C2BA7B8 DOT FBFA1D33 AT worldnet DOT att DOT net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 25 Date: Thu, 27 Dec 2001 22:59:06 GMT NNTP-Posting-Host: 12.86.209.132 X-Complaints-To: abuse AT worldnet DOT att DOT net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1009493946 12.86.209.132 (Thu, 27 Dec 2001 22:59:06 GMT) NNTP-Posting-Date: Thu, 27 Dec 2001 22:59:06 GMT Organization: AT&T Worldnet To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Les Cargill wrote: > > The macro preprocessor simply substitutes the text "33 + 29" when it sees s/33/233/g :) > BASEVAL2. It > doesn't group them together into a single quantity. > > So "printf("baseval4 - baseval2 [28] = %d\n\n", BASEVAL4 - BASEVAL2);" becomes > "printf("baseval4 - baseval2 [28] = %d\n\n", 33 + 57 - 233 + 29); s/ 33/ 233/g > > -- > http://home.att.net/~lcargill -- http://home.att.net/~lcargill