From: uhfgood AT aol DOT com (Uhfgood) Newsgroups: comp.os.msdos.djgpp Subject: -KWII- Help on using #define's with other modules... Lines: 16 NNTP-Posting-Host: ladder03.news.aol.com X-Admin: news AT aol DOT com Date: 21 Oct 1998 18:18:09 GMT Organization: AOL http://www.aol.com Message-ID: <19981021141809.14983.00000414@ng-fd1.aol.com> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Say I have this in my main program (main source file) #define somenum 10 how would I use somenum in another module... (that is if I had another *.c file with some functions in it how would I use somenum in that file) do I need an extern for that or do i need to define it also in my other source modules or what? -KWII- *Keith Weatherby II* *Uhfgood AT aol DOT com* *Vice AT gconn DOT com*