home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / os2 / programm / 6481 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  802 b 

  1. Path: sparky!uunet!wupost!csus.edu!netcom.com!netcomsv!boo!uttsbbs!john.navas
  2. From: john.navas@uttsbbs.uucp (John Navas) 
  3. Newsgroups: comp.os.os2.programmer
  4. Subject: Nested Comments in IBM C
  5. Message-ID: <2681.18.uupcb@uttsbbs.uucp>
  6. Date: 16 Nov 92 10:03:00 GMT
  7. Distribution: world
  8. Organization: The Transfer Station BBS, Danville, CA - 510-837-4610/837-5591
  9. Reply-To: john.navas@uttsbbs.uucp (John Navas) 
  10. Lines: 23
  11.  
  12. c9e-aw@volga (Claudio Fahey) writes:
  13.  
  14.  > Does anybody know if the IBM C Set/2 compiler can be setup to
  15.  > support nested comments?  It sure is a pain uncommenting my
  16.  > comments when I want to comment a large section of code.
  17.  
  18. Rather than nested comments, why not simply use:
  19.  
  20.  ...
  21.  
  22. #if 0
  23.  
  24.  ... /* comment */
  25.  
  26. #endif
  27.  
  28.  ...
  29.  
  30. to "comment out" code?
  31.  
  32. Best regards,
  33. John
  34.                  
  35.