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