delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f |
Message-ID: | <3C2BA8E3.446CF947@worldnet.att.net> |
From: | Les Cargill <lcargill AT worldnet DOT att DOT net> |
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: | <daed704d DOT 0112271423 DOT 309fcdeb AT posting DOT google DOT com> <3C2BA7B8 DOT FBFA1D33 AT worldnet DOT att DOT net> |
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: > <snip> > 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |