From: jesteel AT compugen DOT net (Jason E. Steele) Newsgroups: comp.os.msdos.djgpp,comp.lang.c Subject: Re: Can't get external variables to work!?? Date: 07 Feb 1998 09:58:00 -0600 Organization: OnRamp, http://www.onramp.net/ Lines: 18 Message-ID: References: <34DC7457 DOT 6A0A7521 AT iafrica DOT com> NNTP-Posting-Host: host15.compugen.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk "Bruce Merry (the Almighty Cheese)" writes: > > kbd.c: > #include "c_types.h" > static volatile byte keys[128]; ^^^ > /* code for keyboard handling */ The word 'static' used on a file-scope identifier specifies that the identifier will have internal linkage (in other words, it can not be seen outside of the source file where it's declared, 'extern' or no) Try removing the 'static'. -- Jason E. Steele ------------------------------------------------------------------------------ "Running Windows on a Pentium is like having a brand new Porsche but only [being] able to drive backwards with the handbrake on." (unknown)