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



Phil, the key to understanding this is to think of BIFs as nothing more
than IBM-supplied sub-procedures, which
indeed they are. They are simply IBM-supplied functions which the RPG
runtime executes as it encounters them.
Asking the debugger to show their return value is the same as asking it to
show the return value of your own
sub-procedures. It would have to actually execute them to do that, passing
in the same parameters you coded,
if applicable. It would be the same as asking it to show the value of a
system API, or a C library routine, or a
JDK-supplied method in Java. Not impossible, perhaps, but typically it is
left to entry fields that let you type in
any expression and see the result.

>What I still don't understand is how the program does know the value of a
>BIF but the debugger can't know the value of a BIF.  Sounds like you're
>saying it could but the compiler and debugger aren't designed to.

Phil Coulthard, iSeries AD Software Architect,  IBM Canada Ltd.



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.