Or do you mean the imported code can't find shared variables?
Remember, imported stuff needs to be pretty much self contained as it gets pre-compiled.
You could try having all your modular code included into one file that also holds all the shared variables and import this file into your main code.
Remember, imported stuff needs to be pretty much self contained as it gets pre-compiled.
You could try having all your modular code included into one file that also holds all the shared variables and import this file into your main code.