Includes a file at compile time. #include 'KcMthLib'
...or... static const mathLib = 'KcMthLib';
#include mathLib
If no extension is given, CSS will add the default extension .hss. The file is searched in the paths defined in environment variable CSSPATH. If no CSSPATH is defined the file is searched in the current working directory. NOTE: #include will perform unconditionally which may by a problem when the same file is included from several sources. You'd better use #loadScript to load forward declaration because that will automaticly avoid multiple loads (as you would do in C/C++ by a sequence of #ifndef _XXY_ ... #define _XXY_ ... declarations ... #endif) | |