IMPORTS

BlitzMax Forums/BlitzMax Programming/IMPORTS

And by the way Dreamora...


Not even GCC, the underlaying compiler for the C / C++ part does support it as even C / C++ does not allow cyclic imports!



You can do cyclic imports in C. It will crash the preproccessor when memory runs out unless you control it with conditional inclusion but you can still do it.

program.c:

#include "header.h"



header.h:

#include "program.c"