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



They are both still external procedures.

What I meant was that they were external to the program they were being used in. I just used the term API inappropriately but was more interested in getting the thought across.

******************************************
Don Wereschuk
ISD - Programmer/Analyst
Simcoe Parts Service Inc.
Phone: 705-435-7814 Ex: 302
Fax: 705-435-6746
mailto:dwereschuk@xxxxxxxxxxxxxxx
******************************************
"Save the Cheerleader - Save the world" - Hiro Nakamura

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Steve Richter
Sent: Wednesday, January 23, 2008 10:08 AM
To: RPG programming on the AS400 / iSeries
Subject: Re: Passing Parameters

On Jan 23, 2008 9:52 AM, Don Wereschuk <dwereschuk@xxxxxxxxxxxxxxx> 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.


that is a good definition.


They are both still external procedures.


external or internal, that is something I would think is up to the
implementation of the compiler. In ILE C, I expect some of the C runtime
functions ( memcpy ) are expanded inline by the C compiler and dont result
in calls to the service program they actually reside in. I would stick with
your concise definition that an API has to be declared in the program,
whereas the BIF does not.

-Steve
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.