Seeing as my dialog system is now going to be released as three modules, I don't want to have to have a bunch of stuff that is used internally getting imported into every script (the stuff used for setting up the dialog text and user options). So I figure, if I can put a preprocessor macro in there before the code I want to omit, and then remove it when I'm done with the code, it will free it up (as well as making dialog text readonly at runtime :o).
I need to get to sleep, but I was messing around with it anyway and I can't seem to make it work...unless I put the macro definiton in a module defined before the module with the code I want to remove, then test it within the module, and remove it in a module after the module in question. I have three modules...but I really shouldn't put the macro definition in the StrAdditions module as it's not at all related.
So...any help or suggestions?
I need to get to sleep, but I was messing around with it anyway and I can't seem to make it work...unless I put the macro definiton in a module defined before the module with the code I want to remove, then test it within the module, and remove it in a module after the module in question. I have three modules...but I really shouldn't put the macro definition in the StrAdditions module as it's not at all related.
So...any help or suggestions?