🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #2971

Re: Nested Comments in IBM C Set/2

#2971
From: Martin Lansche
Date: Mon, 16 Nov 1992 16:13
27 lines
1713 bytes
In <c9e-aw.721870314@volga.Berkeley.EDU> Claudio Fahey writes:
>Does anybody know if the IBM C Set/2 compiler can be
>setup to support nested comments?  It sure is a pain
>uncommenting my comments when I want to comment a large
>section of code.
>
C Set/2 supports /* ... */ style comments and // style comments (as allowed
in C++).  By combining these two styles, and by judicious use of #if 0 ...
#endif blocks, your pains should be minimal.  To enable the // style of
comments, you must use the /Ss option on the CLI, or choose the following
options in WorkFrame/2:
 - Options
   - Compile Options
     - Source Code Options
       - Allow use of '//' for comments

Cheers,
Martin Lansche
  ________________________________________________________________________
   Ilu Iluvatar en kare eldain a firimoin ar antarota mannar valion :
   numessier.  Toi aina, mana, meldielto -- enga morion : talantie.
   ----------------------------------------------------------------------
   The father made the world for elves and mortals and he gave it into
   the hands of the Lords in the West.  They are blessed, holy and loved,
   except the black one.  He has fallen.
  ________________________________________________________________________
(J.R.R. Tolkien).
Technical Details
Message-ID: <19921116.082300.274@almaden.ibm.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!torolab6.VNET.IBM.COM
References: <c9e-aw.721870314@volga.Berkeley.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!torolab6.VNET.IBM.COM
From: lansche@torolab6.VNET.IBM.COM (Martin Lansche)
Message-ID: <19921116.082300.274@almaden.ibm.com>
Date: Mon, 16 Nov 92 11:13:05 EST
Newsgroups: comp.os.os2.programmer
Subject: Re: Nested Comments in IBM C Set/2
Disclaimer: This posting represents the poster's views, not those of IBM
News-Software: UReply 3.0
References: <c9e-aw.721870314@volga.Berkeley.EDU>
Lines: 27