"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

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 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].