Mail Archives: djgpp/1998/01/02/17:46:43
Ryan McGee wrote:
> I'm having a problem with the extern keyword. I'm doing a multi-file
> project in RHIDE, and I'm declaring something I want all the functions
> to be able to acess above my main and then in the other files
> declairing
> it the same way with the extern keyword before it. The problem is
> that
> the variables are all equal to 0 when I use extern, but they have
> values
> in them in main.
Without more details, I can't give much help. Static externals and
externals are all initialized to zero when defined.
--
Erik Max Francis, &tSftDotIotE / mailto:max AT alcyone DOT com
Alcyone Systems / http://www.alcyone.com/max/
San Jose, California, United States / icbm://+37.20.07/-121.53.38
\
"Life may be / the product of imperfections."
/ (Marclo Gleiser)
- Raw text -