To repeat, the C is not required to be in column 6 on a fixed format calc spec line.

Kurt Anderson wrote:
You've lost me. When you say there's a lot of code out there in fixed format that doesn't have a C in column 6 - are you referring to other specs, like D- and F-specs? Or are you referring to column 7 with its /?
Ok, so Pos 6 = ' ', and Pos 7 = ' ', and the line isn't blank, then it's a free format C-spec?

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of R Bruce Hoffman
Sent: Friday, May 22, 2009 4:09 PM
To: RPG programming on the IBM i / System i
Subject: Re: enhancement idea for ILE RPG IV free-form

The C is not required in column 6 for fixed format.
There's a _lot_ of code out there in fixed format that doesn't have the C in column 6.

Steve Richter wrote:
On Fri, May 22, 2009 at 2:37 PM, Mark S. Waterbury
<mark.s.waterbury@xxxxxxx> wrote:
Hello, all:

I want to see what the group thinks of this idea...

Instead of having to code /free and /end-free, to drop into free form
and back out again, why not just let the compiler make the decision, on
a line-by-line basis, depending on the presence of the "C" in the column
(for C-specs)? If the "C" is there, treat the line as fixed format. If
there is a blank in that column, then we are in /free format.
a pre compiler could do this. If the market wanted the feature a 3rd
party would have provided it. ( just a way to phrase the issue )


This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].