No, there is no other way. And no, you shouldn't be using macros for such a lot of code. You should be using functions.
I see. I am not sure how it could be done using a function. Is it possible to use a function to for example "Declare"/tell that:
Code:Something = if (Time > 1652);
Last edited by Coding; 02-06-2008 at 07:37 PM.
No. Macros are preprocessor stuff.
It parses the source file and replaces all instances of those macros with regular text, so when the compiler starts compiling the code, the text has already been replaced.
You shouldn't be abusing macros in such a way either.
You should use template functions when possible.
Yes okay, I will take a look at this and see what could be done.
Thank you for help...