× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



date: Sat, 26 Sep 2015 11:33:36 -0400
from: "Edmund Reinhardt" <edmund.reinhardt@xxxxxxxxxx>
subject: Re: [WDSCI-L] RDi 9.5 indenter shifting long lines to far
left


BTW,
I spoke to Barbara Morris about this and her suggestion was the maximum
line length preference should not apply to end-of-line comments, but only
to real code.

I am planning to quickly put in a fix to make sure code never get shifted
left of column 8. Eventually I can put in a preference for what the
maximum line length should be including comments (we need to at least
enforce the physical record length here).

Ken, I see your PMR about the crash since the verifier is not handling the
wrongly formatted code.
You can open another one about the formatting moving long lines to column 6
which makes them invalid.

Thanks,
Edmund

I talked to one of my developers about how we manage indentation formatting in our Free format converter TransformerRPG.

He said we are still using only 8-80 for real code with only comments beyond column 80 out to column 120 (depending on sourcefile length).
We won’t be adding support for the RDi 9.5 wider format until it’s been out for a while to maintain compatibility.

One thing he mentioned was that IF you start the comment in column 80 or 81 (if there is a ‘/‘ in either of those columns) it confuses RDi and the RPGLE compiler so we put the // before or after those columns when formatting.
I tried this in RDi 9.5 beta and it didn’t seem to cause a problem there, in free code anyways.

Thanks




As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2024 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.