Hi folks!
Quick Question; When the IDE compiles code, how does it handle structure that is conditional on a defined value? For example
#define DEBUG_LEVEL = 8
while Loop() {
if ( DEBUG_LEVEL = 8) {
// do some debug stuff
}
}
When the compiler evaluates the if statement above will it drop the code completely if the condition is false?
I want to have robust debug code in the project that is not included in the production version.
Thanks in advance, and Cheers!