On Thursday 15 April 2004 10:36 pm, wax wacky wrote:
> I would like to ask one simple question ... why all the formhandlers and
> appeventhandler and other functions declared as static in all the sample
> codes....

Static functions can not be used outside the file they are declared in.  I 
beleive there are some other optomizations in place for static variables and 
functions... but I do not know what they are.  Basically, only define 
something as /not/ static if you wish it to be global.

It's safest that way.

-- 
Matthew Bevan, Margin Software
 - Re-inventing the wheel, every time.

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to