Hi Patrick:

The answer probably depends on the language you are using. In
my experience it really boils down to semantics.

A function is a subroutine that can be invoked from your program. 
That function can be define within the source file of your program
or it can be defined within an external source file which is
included into your program when you compile it. It could also
be define within a source module that is compiled externally
and would be included into your program at link, load or run 
time. Several of these externally defined functions can be 
combined into one large file called a library. Libraries can be
supplied with the compiler, as extensions to the compiler or
can be project specific.

So back to the semantics. Generally functions refer to routines
that are defined within your source file(s) and/or are included
as source. Library routines are functions that are run from
external libraries.

As I said, this will depend on the language you are using.

HTH

Regards, Hugh

-- 
Hugh E Cruickshank, Forward Software, www.forward-software.com

> -----Original Message-----
> From: [EMAIL PROTECTED]
> Sent: Friday, June 07, 2002 7:49 AM
> 
> Hello people,
> 
> Maybe a stupid question but can anybody tell me clearly what the 
> difference(s) 
> is (are) between functions and library routines ??
> 
> Thanx
> 
> 
> patrick
> 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.368 / Virus Database: 204 - Release Date: 5/29/2002



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to