Hi Folks, Though still very much a beginner at this, I now have several "modules" of code under my belt, like LCD routines, delay routines, math routines, etc. Currently I have these stored seperately and use the "#include" statement to integrate them into the main program. The variables and equates for each routine are then prepended to the main program's variables at the top of the code. My question is: Is there a defacto standard or any kind of guideline as to how to manage the variables and equates associated with an include file? I've seen some examples use ".h" header files that are "#included" along with their code (ie, LCD.inc and LCD.h) but this seems inefficient. Is there a way I can include a module's variables within the module itself, thus avoiding the use of multiple files? I'd be curious to hear how others manage these items, and perhaps code organization in general. I'm certain there's a better way than what I'm doing now. Thanks, Jeff Swayze -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads