Am Donnerstag, 11. August 2011 12:40:24 UTC+2 schrieb Roger: > Just a quick response here, "ifdef style" is C code not compiled into the > compiled program if it is not defined or chosen to be enabled. This in turn, > prevents the CPU from wasting cycles testing if/then statements, etc...
yes, I understood that, you want some kind of preprocessing. With the given examples the test for $DEBUG is done only once in the runtime of the script. If you want to avoid that as well, you need two different scripts, one with debugging enabled and one without. These scripts can be the result of a preprocessing of course. regards