To use the module the basic program should include the file gd.bas. To do this the program should contain the line
include gd.bas
somewhere at the start of the code. Note that there are no double quote characters before and after the file name. This tells the interpreter that the include file is located in a module include directory. This include file contains all the declarations that are needed to use the GD module.
The program using the module should call the functions declared in the include file. The binary library file is loaded when the first function call is executed.
The functions and the constants are defined in the following sections. Note that all the constants and functions are declared to belong to the name space gd:: and should be used with the prefix gd::. For example the function Create should be used as gd::Create from outside of the module gd.