I suppose you could write a "pre-compile" formatter, that takes your
source, trims each line then writes it out at column 7. As long as you
keep white space to the left and your trimmed "line of code" is less
than 72 characters, you could support source with 200+ columns...
Problem with that could be debugging. Not sure if green screen debugger
would display source correctly.
Perhaps this could be something your MAKE tool could handle. Source
attribute RPGLEW (or whatever) would engage the formatter.
Just a thought....
-Eric DeLong
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Alan Campin
Sent: Wednesday, April 22, 2009 3:50 PM
To: RPG programming on the IBM i / System i
Subject: Re: More than 80 columns
in v6.1 there is an option to lengthen the columns available...now if
i
can just remember where it is lol
Manual say 8 to 80. I don't believe they can ever extend it because of
the original developers decision to have 8 to 80 as source and
anything beyond the 80 character as comment.
If they had made the comment as a separate field then they could have
the source line any length you wanted and you could have handled it
but with the comment starting at 81 I cannot imagine anyway to do it
without screwing up other things.
Of course, if they had not done this terrible idea of multiple members
in a file in the first place they won't have had the problem but
hindsight is 20/20.
As an Amazon Associate we earn from qualifying purchases.