|
Yes - But only if you include it with /INCLUDE or /COPY
On Tue, Mar 10, 2020 at 10:54 AM Mónica Anastácio <
monicaanastacio@xxxxxxxxx>
wrote:
Im work in a program **FREE. can use fixed form codecode.
On Fri, Mar 6, 2020 at 6:30 PM Charles Wilt <charles.wilt@xxxxxxxxx>
wrote:
I've also slipped in a free-form statement into existing fixed form
so
I even go so far as to move the free for line to the right so it's not
whatjarring to look at.
Charles
Charles
On Fri, Mar 6, 2020 at 10:55 AM Joe Pluta <joepluta@xxxxxxxxxxxxxxxxx>
wrote:
Yes, that's a very good observation. In fact, it's the converse of
newI sometimes do today with fixed-format ILE RPG programs that need a
theCHAIN. I slip in a free-form "chain (fl1:fld2) file;". Sometimes
answersimplest solution is the best.
On 3/6/2020 11:15 AM, Jon Paris wrote:
Good point Joe.
Of course one interesting approach that would provide a simple
joepluta@xxxxxxxxxxxxxxxxx>inleaves
this case (albeit a bit ugly) is simply to keep the fixed form *EntryPlist!
Don't even need /Free /End-Free any more - just do it.
Linoma's tool box is intelligent enough to spot the problem and
those C specs in place.
On Mar 6, 2020, at 12:32 AM, Joe Pluta <
IVwrote:nodding
Normally when I'm reading one of your posts, Jon, I find myself
in agreement. This is one of those rare other occasions. :)
Mónica's point. Having converted many programs from RPG III to RPG
Actually, I agree with your premise, but I completely understand
toin
largeRPG free, this is one of the most troublesome of the issues. In a
program I may have hundreds of lines of code that access the fields
anof
externally described data structure passed as a parameter. Because
inhow
free works, I cannot define that parameter as an unqualified datastructure
which means that now I have to qualify the field name in every one ofthose
lines.
It's a very specific issue, and one that has a workaround. Two,
pointers,forgetfact, but one involves extra moves (especially problematic if you
to
move the field back at the end) and the other involves based
aby
codeconcept not always well known by the folks who maintain the current
hiccupbase. It's just one of those nagging little things that can be a
programmerswhen trying to modernize, especially when you're helping your
modernize their skills at the same time.
On 3/5/2020 6:04 PM, Jon Paris wrote:
"and must be identical as what has been done for over 30 years
whythe
company in fixed."
Why? In fact if you;'re going to just do the same old same old
methods.bother to change to free?
Surely the whole point of changing is to get to use better
affiliateflexible.And the methods available in free-form are much better and more
So why penalize yourself - it makes no sense.affiliate
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
Help support midrange.com by shopping at amazon.com with our
link: https://amazon.midrange.com
--
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
----link: https://amazon.midrange.com--
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
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
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.