×
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.
Don Wereschuk wrote:
Steve: It is my understanding that an API is a procedure that must be declared in the program before it can be used. A BIF is a procedure that doesn't need to be declared in the program and can be used by any program that is using the language the BIF belongs to. They are both still external procedures. Maybe this is another part of coding that I don't understand so correct me if I'm wrong. I used the terminology very loosely and I didn't mean to interchange the two terms.
I don't know if I'd call a BIF an "external procedure". As I understand
it, BIFs are part of the RPG language, just like opcodes are.
API is an acronym for "Application Programming Interface". It is a
procedure or group of procedures that is written by an OS or other
software vendor to allow third party programs to access information from
that application. For example, if you purchase an inventory control
system, the vendor of that system might provide an API to allow your
homegrown programs to produce reports about inventory activities without
having to learn the layout of the PFs the vendor uses. APIs also
insulate you from changes to the internal organization of the system
between versions.
Hope that helps clarify your understanding,
Adam
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.