Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 beta 3/9/83; site tellab2.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxj!ihnp4!tellab1!tellab2!thoth
From: thoth@tellab2.UUCP (Marcus Hall)
Newsgroups: net.lang.c
Subject: Re: Commenting Out Commented Code
Message-ID: <187@tellab2.UUCP>
Date: Tue, 16-Oct-84 13:18:24 EDT
Article-I.D.: tellab2.187
Posted: Tue Oct 16 13:18:24 1984
Date-Received: Wed, 17-Oct-84 06:09:12 EDT
References: <12931@sri-arpa.UUCP> <269@callan.UUCP>
Reply-To: thoth@tellab2.UUCP (Marcus Hall)
Organization: Tellabs, Inc., Lisle, Ill.
Lines: 25
Summary: 

>>The best and most widely accepted way to prevent a block of code from
>>being compiled while still leaving the code in the file is as follows:
>>
>>#ifdef notdef
>
>But what if notdef is defined?  Clearly, you want
>
>#ifdef  notdef
>#ifndef notdef
>	code code code code /* but I don't like code! */ wonderfull code
>#endif
>#endif
>
>This will always work! :-)

Slightly simpler is:
#if 0
	code code code code /* but I don't like code! */ wonderfull code
#endif

marcus hall
..!ihnp4!tellab1!tellab2!thoth
-- 
marcus hall
..!ihnp4!tellab1!tellab2!thoth