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

  1. Path: sparky!uunet!torolab6.VNET.IBM.COM
  2. From: lansche@torolab6.VNET.IBM.COM (Martin Lansche)
  3. Message-ID: <19921116.082300.274@almaden.ibm.com>
  4. Date: Mon, 16 Nov 92 11:13:05 EST
  5. Newsgroups: comp.os.os2.programmer
  6. Subject: Re: Nested Comments in IBM C Set/2
  7. Disclaimer: This posting represents the poster's views, not those of IBM
  8. News-Software: UReply 3.0
  9. References: <c9e-aw.721870314@volga.Berkeley.EDU>
  10. Lines: 27
  11.  
  12. In <c9e-aw.721870314@volga.Berkeley.EDU> Claudio Fahey writes:
  13. >Does anybody know if the IBM C Set/2 compiler can be
  14. >setup to support nested comments?  It sure is a pain
  15. >uncommenting my comments when I want to comment a large
  16. >section of code.
  17. >
  18. C Set/2 supports /* ... */ style comments and // style comments (as allowed
  19. in C++).  By combining these two styles, and by judicious use of #if 0 ...
  20. #endif blocks, your pains should be minimal.  To enable the // style of
  21. comments, you must use the /Ss option on the CLI, or choose the following
  22. options in WorkFrame/2:
  23.  - Options
  24.    - Compile Options
  25.      - Source Code Options
  26.        - Allow use of '//' for comments
  27.  
  28. Cheers,
  29. Martin Lansche
  30.   ________________________________________________________________________
  31.    Ilu Iluvatar en kare eldain a firimoin ar antarota mannar valion :
  32.    numessier.  Toi aina, mana, meldielto -- enga morion : talantie.
  33.    ----------------------------------------------------------------------
  34.    The father made the world for elves and mortals and he gave it into
  35.    the hands of the Lords in the West.  They are blessed, holy and loved,
  36.    except the black one.  He has fallen.
  37.   ________________________________________________________________________
  38. (J.R.R. Tolkien).
  39.