Hello,
can someone please explain to me exactly how #define works? I need to be able to flip the value of a #define variable, between true and false, within a method call. My attempts so far have been fruitless - it appears that when you type #define inline the program begins with the lowest down #define in the code. EG if I have:
My program will always begin with variable set to false.Code:#define TRUE 1;
#define FALSE 0;
#define variable TRUE;
if(condition) {
#undef variable;
#define variable FALSE;
}
Explanations appreciated!

