× 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.



Hi,

Using RDI 9.5.0.3, and Punch Card Sequence FREEDOM Rocks!
IBM calls it "Truly Free" RPGLE

Sadly, it "appears" that Linoma RPGToolbox does not yet support indent Punch-Card Sequence FREEDOM/"Truly Free"...

Note, the RPG Toolbox does the conversion, but does NOT appear to "RE-INDENT" the code. Which is the Number one reason I use the RPG Toolbox by Linoma.

So, I have been using the built in Indenter by IBM. Over all it is PRETTY Good! The only thing I notice it messes up is my nicely formatted statements...

I have to do some "nasty" "Word-Wrap" for old Legacy mobile units from Last Century, over 40-years old in Design. But, they are being Phased out! Eventually. Less than 1% left in inventory. But, still have to support the remaining units...

So, here is my nicely formatted code:

// check if Exceed position
If %Len(%trim(%subst( formatted
: Start_Position
: %Len(Formatted) - Start_Position
)
)
)
+ 1 +
%len( %trim(Ary_Word(i)) ) > Wrap_Position;
Start_Position += Wrap_Position;
EndIf;

And here it is after running the Ctrl+Shift+F (Indent RPGLE)
// check if Exceed position
If %Len(%trim(%subst( formatted
: Start_Position
: %Len(Formatted) - Start_Position
)
)
)
+ 1 +
%len( %trim(Ary_Word(i)) ) > Wrap_Position;
Start_Position += Wrap_Position;
EndIf;

Here is another sample:

BEFORE:
MCCRTMRU( #PCM
: @Parm
: @AutF
: MsgID
: @DLV
: Windows_User
);

After Ctrl+Shift+F (IBM Indent)
MCCRTMRU( #PCM
: @Parm
: @AutF
: MsgID
: @DLV
: Windows_User
);


NUMER ONE, it still works!!! But, my nice formatting is lost...
Oh well, not the end of the world or anything...

Welcome to the 21st century, we can start coding without any old 19th century Punch-Card limitations!!! YEAH!!!

Yup, punch-cards were invent way back in late 1800's... <Big Smirk>

Good riddance to Punch Card Limitations!!!!! WooHoo

GO IBM RDI and "Truly Free RPGLE/SQLRPGLE"!!!!!!!!!



-Ken Killian-
Senior IBM i Developer using Rational Developer for I RDI 9.5.0.3
Running IBM i, that supports: Java, PHP, Ruby/Ruby on Rails, Python, Node JS, RPGLE



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.