Chris Faherty <[EMAIL PROTECTED]> wrote:
> I don't think it is proper to declare variables inside of header files.

Declaring variables in header file is okay, but defining them isn't.  See

        http://www.eskimo.com/~scs/C-faq/q1.7.html

> I
> always put them at the top of a .c file and if I need them in another file I
> will extern them.

Right...

> extern DateType apptDate;

Preferably in a header file included by both .c files.

    John

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

Reply via email to