The include statement is used to insert XCSB source code or library code into the current file at the position of the include statementif the file file1.bas contains the source code
and the file file2.bas contains the source code// start of file1 byte var1, var2 // end of file1Then the XCSB compiler will process// start of file2 int x, y include "file1.bas" int v, w // end of file2// start of file2 int x, y // start of file1 byte var1, var2 // end of file1 int v, w // end of file2syntax
include filenamewhere filename is a constant string, variables are NOT allowed. The filename must be enclosed in string quotes