Thanks John,

I realised today I'd just got mixed up - thinking that the extern
was used to declare the real instance rather than to tell the 
linker to look in another module.

Hamish

-----Original Message-----
From: John Marshall [mailto:[EMAIL PROTECTED]]
Sent: Sunday, 17 October 1999 4:24
To: palmdev
Subject: Re: Exporting global variables in CodeWarrior.


Hamish McGovern writes:
> Anybody know how to export global variables so that the linker will
> allow you to use them in other compilied C files.

The same way you would with any other C compiler.  Read a good book, or see

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

    John


Reply via email to