|
Yes, that's a very good observation. In fact, it's the converse of what
I sometimes do today with fixed-format ILE RPG programs that need a new
CHAIN. I slip in a free-form "chain (fl1:fld2) file;". Sometimes the
simplest solution is the best.
On 3/6/2020 11:15 AM, Jon Paris wrote:
Good point Joe.this case (albeit a bit ugly) is simply to keep the fixed form *Entry Plist!
Of course one interesting approach that would provide a simple answer in
those C specs in place.
Don't even need /Free /End-Free any more - just do it.
Linoma's tool box is intelligent enough to spot the problem and leaves
wrote:
On Mar 6, 2020, at 12:32 AM, Joe Pluta <joepluta@xxxxxxxxxxxxxxxxx>
in agreement. This is one of those rare other occasions. :)
Normally when I'm reading one of your posts, Jon, I find myself nodding
Mónica's point. Having converted many programs from RPG III to RPG IV to
Actually, I agree with your premise, but I completely understand
RPG free, this is one of the most troublesome of the issues. In a large
program I may have hundreds of lines of code that access the fields in an
externally described data structure passed as a parameter. Because of how
free works, I cannot define that parameter as an unqualified data structure
which means that now I have to qualify the field name in every one of those
lines.
fact, but one involves extra moves (especially problematic if you forget to
It's a very specific issue, and one that has a workaround. Two, in
move the field back at the end) and the other involves based pointers, a
concept not always well known by the folks who maintain the current code
base. It's just one of those nagging little things that can be a hiccup
when trying to modernize, especially when you're helping your programmers
modernize their skills at the same time.
company in fixed."
On 3/5/2020 6:04 PM, Jon Paris wrote:
"and must be identical as what has been done for over 30 years by the
bother to change to free?
Why? In fact if you;'re going to just do the same old same old why
And the methods available in free-form are much better and more flexible.
Surely the whole point of changing is to get to use better methods.
So why penalize yourself - it makes no sense.
questions.--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related
link: https://amazon.midrange.com
Help support midrange.com by shopping at amazon.com with our affiliate
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.
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.