The include directive is used to include the contents of another file into your project. You may want to use this
directive so that you can keep a set of commonly used functions or routines in a library so that they may
be shared between multiple programs. Note that the #include directive is case sensitive.
Note - A library module normally doesn’t contain a MAIN routine.
Create a new project called library.bas and then populated it with the following function:-
FUNCTION DBL(X AS DOUBLE) AS DOUBLE
DBL = X * X
It is now possible to use the function defined in library.bas simply by including the file before the first
use of the function:-