I completely agree that it isn't proper, but with time constraints I chose to do so 
because I couldn't think of any other way to
allow the access I need.

I almost responded with more errors, but I had just done it backwards (it's been a 
looooong time since I used extern).  You nailed
it right on the head and it works now.

Thank you very much =)

Sam

Chris Faherty wrote:

> I don't think it is proper to declare variables inside of header files.  I
> always put them at the top of a .c file and if I need them in another file I
> will extern them.
>
> For example:
>
> Declare it in one file:
>
> DateType apptDate;
>
> If I need to reference it in another:
>
> extern DateType apptDate;


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to