you can do it really simple. Lets figure that i want to use those already workable pe-done software
LedBlink.bas
DisplayOnGraphicLCD.bas
DecodeSerialData.bas

the only thing you have to do at the begining of your *main* program is to add these 3 lines:

INCLUDE "LedBlink.bas"
INCLUDE "DisplayOnGraphicLCD.bas"
INCLUDE "DecodeSerialData.bas"

that's it. The only things you have to be sure... Variable definition must not be duplicate. But i never do it like this. I alway use only one file. And I use MicroCode Studio that show you and can make you jump directly to the VAR,DEFINE, SUBROUTINE, LABEL,.... you want to. If you don't know this FREE and usefull program see this link.

http://www.rentron.com/PicBasic/prod...ode_Studio.htm

depending on how you want to work. Everybody's different.

regards