× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On Wed, 23 Mar 2005 16:35:45 -0500, Paul Morgan <pmorgan@xxxxxxxxxxxxxx> wrote:
> John,
> 
> It would be nice if we could qualify a procedure name with a module or
> service program name similar to the way we qualify a field name in a data
> structure.  Then you could code getLastPeriod() in the CUTLS001
> module/service program.  If you had no name conflict between modules you
> could use getLastPeriod() in the programs without a problem.  But if a name
> conflict occurred you could qualify, in the RPG program, to the right
> procedure with CUGLS001.getLastPeriod() to get around the name conflict.

that is a great idea!

C++ has set the standard on this sort of thing.  Functions are
organized into namespaces and classes.  If there is not a name clash,
you dont need the namespace. otherwise, the notation is
namespace::function( ) ;

If Mr Farr is really serious about adding features to RPG after this
long lull, namespaces, data struct member functions and
destructors/constructors are at the top of my recommendation list.

-Steve

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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.