|
The arguments do not have to all be the same sign - one of the tests
compared negative and positive - works due to a fortuitous characteristic of
EBCDIC - alpha characters precede numerals - this would not work in ASCII.
Same data type, including length and precision, OK.
How about some positive ideas about whether it is possible? I don't know -
would operational descriptors do anything worthwhile?
A lot of min/max stuff in C++ seem to be implemented as macros - no such
animal, is there, in RPG? Side effects are mentioned.
This was not presented as a final solution - maybe someone else will see
value here and run with it - a very generic, type-safe pair of functions -
or someone writes an RFE or COMMON requirement to ask Barbara to take care
of solving it!
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.