"RPG400-L" <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> wrote on 03/22/2019
03:22:58 PM:
On 3/22/19 11:04 AM, Barbara Morris wrote:
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.

Hmm.. I actually like that feature a lot. I think it makes the code
cleaner and easier to read. I've never found it confusing.


I'd *much* rather the compiler give me an error saying the pointer
variable is not defined and make me add it myself. In particular in the
case where the compiler *assumes* that my global pointer variable is not
sufficient and it creates a local (duplicate) pointer variable without
telling me.


Sincerely,

Dave Clark

This thread ...

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].