Trying to use the import <file> so that I may take advantage of the whole project precompile thingy however:
Under the compiler.bmx I have defined type PCode
It works fine for everything in compiler.bmx, however when i try to use it in Stack_Class.BMX it shoots me an error saying that pcode is undefined.
Are there rules by which I can use import? Does the code not cross?
I tried definining it also in Stack_Class.BMX however then it gives me an error about pcode being a duplicate identifier.
Any thoughts?
Import "compiler.bmx" Import "Stack_class.bmx"
Under the compiler.bmx I have defined type PCode
It works fine for everything in compiler.bmx, however when i try to use it in Stack_Class.BMX it shoots me an error saying that pcode is undefined.
Are there rules by which I can use import? Does the code not cross?
I tried definining it also in Stack_Class.BMX however then it gives me an error about pcode being a duplicate identifier.
Any thoughts?