I would prefer to retain the /free /end-free - in opposition to having to code an additional letter on every line. Honestly, the /free /end-free around every procedure isn't anything to me. It's in my procedure template. When I copy one procedure to another and modify it, I copy along those compiler directives. Really is no harm whatsoever.

Even in WDSCi, it can automatically put the new letter in the 6th position, but what if I want a blank line, now I need to go wipe out that letter. Just had to voice opposition. ;)

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of John McKay
Sent: Saturday, May 23, 2009 3:16 AM
To: RPG programming on the IBM i / System i
Subject: Re: enhancement idea for ILE RPG IV free-form

I would change the entry in column 6 - instead of C, perhaps M as the last
character in form...

This would eliminate the /free diectives and retain compatibility with
other statement types.


Regards,
John McKay mba
ww.rpglanguage.com
www.mckaysoftware.ie

----- Original Message -----
From: "R Bruce Hoffman" <bruce.hoffman@xxxxxxxxxxxxxxxxx>
To: "RPG programming on the IBM i / System i" <rpg400-l@xxxxxxxxxxxx>
Sent: Friday, May 22, 2009 10:08 PM
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 )

-Steve


--
"When I die, I want to die like my grandmother who died peacefully
in her sleep. Not screaming like all the passengers in her car."
- Author Unknown

===========================================================
R Bruce Hoffman


--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2019 by midrange.com 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].