Modules

Module is a source file containing a set of variables/functions/classes you want to include in your program.
Assume there is a module file named file1.si:

_gTest=0;
func test_module()
{
    print("this is test");
}

#Include command
You can include the above module file file1.si in your program by using #include as follows:
#include "file1.si" //include file1.si

main()
{
        test_module();//call the function in the file file1.si
}

The search path of #include is current directory where your program(main function) is located, and the relative path is also available:
#include "include/file.si"
#include "../base/test1.si"

You can also use the absolute path to include the file:
#include "D:\\myworks\\test3.si"


The file can be included several times, but it will be loaded only once.