User Tools

Site Tools



#include "filename"

Reuse code by including source files. For files in the same directory as the current source file, you can write the following:

#include "MYLIB.cub"

For files in other directories, you will need to include the full path name as shown here:

#include "c:\mysource\CUBLOC\lib\mylib.cub"

Using include files, you can store all of your common subroutines in a separate file. In this case, please make sure to #include the subroutine file at the very end of your program, after the End statement.

Go CUBLOC home

cubloc/include/index.txt · Last modified: 2016/07/04 16:24 by COMFILE Technology