Maybe you know about using procedure pointers and assigning them to a variable that is used on a CALLP, if I remember Jon's presentation right from the RPG@DB2 summit - he has an example of the world's most expensive pocket calculator - an iSeries. But this lets you have a single call statement but using different procedures based on the arithmetic operation you are processing at the time.

-------------- Original message --------------
From: "Aaron Bartell" <albartell@xxxxxxxxx>

The point is the programer has to explictly decide which function to call
ahead of time given certain
input

Kinda, but in reality you could have two of the samed named externally
defined service program sub procedures, and whatever one is found first is
the one that will be used. So you still have some dynamic-ness outside of
programming. In this case it would be based on *LIBL which could be
considered the same thing in the end I guess.

Cool, but I think your stretching to call this override or inheritence.


How about "Manual Override"? :-)

Aaron Bartell
http://mowyourlawn.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.