#INCLUDE
You can use this command to include the function declarations of other Dark Basic Professional programs. You can use this command to simplify your main program by writing sub-programs that hold re-usable independent functions. The #include will associate all the functions within the sub-program with the main program during compilation. The Filename String must specify a Dark Basic Professional program in the current project directory. You can #include up to 255 sub-programs in total. Sub-programs can also use the #include command to further nest sub-programs, but all sub-programs compile into the main program so duplicated function names are not allowed.

SYNTAX
#INCLUDE DBA Filename

RELATED INFO
CORE Commands Menu
Index

EXAMPLE
View Showcase Example
View Usage Example