Hi, if define A as
and writeCode:#define A 100
line1 is grayed out as is should be and line2 is active as it should be. But if I redefine A asCode:#if (A == 0) line1; #else line2; #endif
then line1 becomes active and line2 is grayed out. Why? A is not equal to 0! How can I test in compile time if a defined constant is zero or not, even if it is not an integer? Thanks in advance.Code:#define A 100.0