Path: utzoo!yunexus!ists!jarvis.csri.toronto.edu!mailrus!uunet!pdn!dinsdale!reggie From: reggie@dinsdale.nm.paradyne.com (George W. Leach) Newsgroups: comp.std.c Subject: Re: // comments Message-ID: <6760@pdn.paradyne.com> Date: 17 Nov 89 17:47:03 GMT Article-I.D.: pdn.6760 References: <765@maytag.waterloo.edu> <26.UUL1.3#5077@aussie.UUCP> Sender: usenet@pdn.paradyne.com Reply-To: reggie@dinsdale.paradyne.com (George W. Leach) Organization: AT&T Suncoast Division, Largo FL Lines: 23 In article <26.UUL1.3#5077@aussie.UUCP> rex@aussie.UUCP (Rex Jaeschke) writes: >#if 0 >printf("....."); /* ... */ >#endif >This allows you (and always has) to "comment" out code containing >comments. In fact, it is not such a bad practice to use it to comment code out period! At one time I was porting a set of applications to a new version of our relational database manager. The new version had some nice new features added to its embedded query language. One was a mechanism to relate the C generated by the embedded query language preprocessor to the original source by adding comments to the code. Thus, where we had some embedded query language code commented out, we all of a sudden had embedded comments in the generated C!!!! George W. Leach AT&T Paradyne (uunet|att)!pdn!reggie Mail stop LG-133 Phone: 1-813-530-2376 P.O. Box 2826 FAX: 1-813-530-8224 Largo, FL 34649-2826 USA