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?
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
Hello, all:a pre compiler could do this. If the market wanted the feature a 3rd
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.
party would have provided it. ( just a way to phrase the issue )