> what exactly meant by the same source.does it mean that if there r
> two different apps on  Palm which has two different functions of the same
> name then it will cauuse conflict.if yes then how does it happen'

I think you will find that "source" should mean "module".  An 
application can consist of several (many) modules (individual *.c 
files).  One module cannot call a static function in another module.  
If you try, you will get a link error.

> -----Original Message----- From: Eric VERGNAUD
> <[EMAIL PROTECTED]> To: [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> Date: Friday, January 07, 2000 7:02 PM Subject:
> Re: why we use static before a function what is the significanceof it
> 
> 
> >Yes, it avoids possible name conflicts betwwen sources.
> >
> >> De : "Ramel Levin" <[EMAIL PROTECTED]>
> >> R�pondre � : [EMAIL PROTECTED]
> >> Date : Fri, 7 Jan 2000 12:40:54 +0200
> >> � : <[EMAIL PROTECTED]>
> >> Objet : Re: why we use static before a function what is the
> >> significance
> of it
> >>
> >> It means that this function can only be accesses from the same
> >> source... this is good programming behavior so you functions are kept
> >> "private"
> from
> >> other sources.
> >>
> >> R.
> >>
> >> ----- Original Message -----
> >> From: Gaurav Palvia <[EMAIL PROTECTED]>
> >> To: palm-dev-forum <[EMAIL PROTECTED]>
> >> Sent: Friday, January 07, 2000 12:36 PM
> >> Subject: why we use static before a function what is the significance
> >> of
> it
> >>
> >>
> >>>
> >>>
> >>>
> >>>
> >>
> >>
> >
> 
> 


--
-----------------------------------------------------------------
Discussion Group:        http://www.halcyon.com/ipscone/wwwboard/

Protect your constitutional rights. Your favorite one may be next!
-----------------------------------------------------------------

Reply via email to