Re: Reviving REMARKS
- From: "Richard" <riplin@xxxxxxxxxxxx>
- Date: 2 Aug 2005 17:57:45 -0700
john@xxxxxxxxxxxxxxxx wrote:
> In a fit
> of well-intentioned foolisheness the powers that be eliminated that
> dedicated paragraph name,
What they actually did was introduce a much more general commenting
mechanism that made REMARKS and NOTE statements obsolete.
> The basic princple of COBOL beng a self
> documenting and English-like language was pretty much ignored.
Actually the point about _self_ documenting is that it doesn't need
remarks or comments.
> INSTALLATION paragraph. Only one asterisk is needed. This trick works
> on OpenCobol. I hven't tested it elsewhere.
Actually you probably don't need the asterisk at all - just put the
word REMARKS in column 12. You may find that once a comment paragraph
has been started it only stops when there is something in area A.
I started using '*' for all comments 30 years ago and don't see why you
feel the need to revert to the 60s. Next you will be adopting a
standard that requires each paragraph to start with a NOTE sentence
that comments on what the paragraph is to do. ;-)
I often put comments in programs that are designed to be extracted to
build user documentation. The parts that are to be extracted are
comments (* in 7) that are between pairs of *<html> and *</html>
comments. These comments may be anywhere including the identification
division so I will always use '*' even there.
.
- Follow-Ups:
- Re: Reviving REMARKS
- From: Peter Lacey
- Re: Reviving REMARKS
- References:
- Reviving REMARKS
- From: john
- Reviving REMARKS
- Prev by Date: Re: COBOL 85 and 2002 for old timers.
- Next by Date: Re: "Shared" procedure division code
- Previous by thread: Re: Reviving REMARKS
- Next by thread: Re: Reviving REMARKS
- Index(es):
Relevant Pages
|