gnucobol-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [open-cobol-list] Compiler modifications


From: Bill Klein
Subject: Re: [open-cobol-list] Compiler modifications
Date: Tue, 6 Jun 2006 14:14:56 -0500

> -----Original Message-----
<snip> 
> > Free-format : Column 1 and column 1 only.
> NO : in free-format it is possible to put a comment
> anywhere on a line with "*>" and 
>   COMPUTE fld1 = fld2  *> Unit price
>   * fld3 *> quantity
>   END-COMPUTE
> is perfectly correct.
> 
> > Consider these 3 lines (First character of each
> > line starts in column 3) -
> >    COMPUTE fld1 = fld2
> >    * fld3
> >    END-COMPUTE.
> > If we slide line 2 to the left so that the
> > asterisk begins in column 1, it becomes
> > a comment   :-)
> > (And still is valid code)
> >

I agree,
  *>
as the frirt 2 non-blank characters indicates a comment line in free form
reference format.

(or >>D - for "debugging lines")




reply via email to

[Prev in Thread] Current Thread [Next in Thread]