"I'm not a control freak but I really do like to always be in
control of what my computer programs are doing at any given point in time."
Exactly why I despise *INZSR ! "Oh, but it's so easy" ... NOT!
Roger Harman
COMMON Certified Application Developer - ILE RPG on IBM i on Power
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> on behalf of dlclark@xxxxxxxxxxxxxxxx <dlclark@xxxxxxxxxxxxxxxx>
Sent: Friday, March 22, 2019 9:20 AM
To: RPG programming on IBM i
Subject: Re: Are there any rules to follow when naming pointer variables?
"RPG400-L" <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> wrote on 03/22/2019
12:04:35 PM:
There's an annoying "feature" of RPG where RPG will automatically define
the basing pointer used in the BASED keyword, if the pointer is not
already defined. At least, I find it annoying.
If you use the BASED keyword in a subprocedure and code a global pointer
as the parameter, RPG will "helpfully" define the pointer locally. So
even though you think you have only defined the pointer once, the
compile listing will show that it is actually defined twice.
Not just annoying to me. I have always hated it when a compiler
thinks it is smarter than me and tries to "help" me out. In fact, this is
also why I have never liked the automated cycle of languages like RPG,
DYL280, etc. I'm not a control freak but I really do like to always be in
control of what my computer programs are doing at any given point in time.
Sincerely,
Dave Clark
--
int.ext: 91078
direct: (937) 531-6378
home: (937) 751-3300
Winsupply Group Services
3110 Kettering Boulevard
Dayton, Ohio 45439 USA
(937) 294-5331
*********************************************************************************************
This email message and any attachments is for use only by the named
addressee(s) and may contain confidential, privileged and/or proprietary
information. If you have received this message in error, please
immediately notify the sender and delete and destroy the message and all
copies. All unauthorized direct or indirect use or disclosure of this
message is strictly prohibited. No right to confidentiality or privilege
is waived or lost by any error in transmission.
*********************************************************************************************
--
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.