Hi all
I'm having problem with preprocessor conditionals containing comparisions, eg. "#if X == 4". After the following code has executed, the variable var1 is set to 10,not 15 as I expected.
--------------------------- #define X 4 #define Y 1 . . . var1 := 0;
#ifdef Y var1 := 10; #endif
#if X == 4 var1 := 15; #endif ----------------------------
Should this work as I expect?
Best Regards Sven Jauring