$INCLUDE
Action
Includes an ASCII file in the program at the current position.

Syntax
$INCLUDE file

Remarks

file Name of the ASCII file which must contain valid BASCOM statements.
This option can be used if you make use of the same routines in
many programs. You can write modules and include them into your program.
If there are changes to make you only have to change the module file, not all your BASCOM programs.
You can only include ASCII files!

Example
'-----------------------------------------------------------
' (c) 1997,1998 MCS Electronics
'------------------------------------------------------------
' file: INCLUDE.BAS
' demo: $INCLUDE
'------------------------------------------------------------

Print "INCLUDE.BAS"
$include c:\bascom\123.bas 'include file that prints Hello
Print "Back in INCLUDE.BAS"
End