Colin Hart,
Firstly, always remember to check the help files or search the forums before posting. While looking in the 'commands/basic' section of the DarkBasic help files, you would have stumbled upon the
#INCLUDE command. Its syntax is
#INCLUDE "Filename String".
I believe that you can only include .dba files, which is the normal output from
DarkEdit or the original
DarkBasic Editor. To use the included file, any code within it must be placed in a function and then called. The same stipulations apply to using an include file as applied to using functions.
+NanoBrain+