Hi Gad
I just want to make sure that I understand something that you wrote in your e-mail
Namely:- "one can map names to each indicators and use named indicators"
My understanding is that you are still limited as to the number of named indicators as these named indicators still represent in01 through in99
Or am I wrong?
If I am wrong - can someone please point me to something that shows this in use?
Alan Shore
Solutions Architect
IT Supply Chain Execution
[cid:image001.png@01D8B175.E84D9C40]
60 Orville Drive
Bohemia, NY 11716
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
E-mail : ASHORE@xxxxxxxxxxxxxxxxxxxx
'If you're going through hell, keep going.'
Winston Churchill
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Gad Miron
Sent: Tuesday, August 16, 2022 1:33 PM
To: rpg400-l@xxxxxxxxxxxxxxxxxx
Subject: [EXTERNAL] 20 years ago
Speaking of DSPFs
Some 20 years ago (st. Peppers) I had the notion to ask IBM to let us use
Field attributes indicators in DSPFs in a more straight forward (and self
explanatory) way.
This by adding all 7 attributes of each field ( HI RI CS BL ND UL PC) to
the INDRADA area
Then we could write in the RPG program like this:
FIELD1.PC = *ON (Set on Position cursor for FIELD1)
FIELD2.RI = *ON (light up Reverse Image for FIELD2)
you get the point...
This method will also help with the limited number of indicators.
But, as I have been coding less and less during that time I kind of
dropped it.
BTH, I know that one can map names to each indicators and use named
indicators
But if IBM were to add a built-in support for this feature it would have
standardize all
reference to these field attribute and not leave it to the (lazy , like me)
programmer.
Just a flash-back
Gad
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx<mailto:RPG400-L@xxxxxxxxxxxxxxxxxx>
To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/rpg400-l<
https://lists.midrange.com/mailman/listinfo/rpg400-l>
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx<mailto:RPG400-L-request@xxxxxxxxxxxxxxxxxx>
Before posting, please take a moment to review the archives
at
https://archive.midrange.com/rpg400-l<
https://archive.midrange.com/rpg400-l>.
Please contact support@xxxxxxxxxxxxxxxxxxxx<mailto:support@xxxxxxxxxxxxxxxxxxxx> for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com<
https://amazon.midrange.com>
As an Amazon Associate we earn from qualifying purchases.