×
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.
BIF's are not subject to the lack of overloading support in
RPG. Plus, this would just expand what is allowed as the result of
the operation. Since this functionality is already part of the fixed
format opcode, the hard part has already been done!
Really? What makes you say that? Can you show me an example of this? What
%BIF returns different data types depending upon how it is used? 'Cuz I
cannot think of any like that.
I'm curious as to why the free format version is restricted to a
numeric variable, instead of allowing an array as the result.
I suspect (and "suspect" is a keyword here) that the difference lies in the
fact that one is a *Function*, falling under the rules and conditions of
function definitions, and the other is an operation code, which might, by
its very nature, have much more "open" rules.
Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"A closed mouth gathers no flies."
-- French Proverb"A closed mouth gathers no feet."
-- American Proverb
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.