From: utzoo!decvax!harpo!eagle!mhuxt!mhuxj!cbosgd!mark Newsgroups: net.unix-wizards Title: Re: C comments Article-I.D.: cbosgd.2807 Posted: Fri Nov 12 14:01:22 1982 Received: Mon Nov 15 06:00:36 1982 Reply-To: mark@cbosgd.UUCP (Mark Horton) References: sri-unix.3985 If you want to comment out a large chunk of code which contains comments, do #ifdef notdef code to be commented out #endif The idea is that "notdef" will never be defined. Similarly, when you have a new way to do something and don't want to throw away the old way yet, #ifndef notdef new way #else old way #endif SCCS can be used for the same thing, but if you intend the change to be quick and the old way taken out as soon as you trust the new way, this method is handy. Since #ifdef's nest, this can be used even when the code uses the preprocessor.