??? 05/20/04 19:55 Read: times |
#70771 - no, No, NO, NOOOOOOOOOOOOOO!! Responding to: ???'s previous message |
RUN-TIME VALUES CANNOT AFFECT COMPILE-TIME CONSTANTS!!!
raja sekhar said: (my emphasis)
on poweron slow_chrg bit is 1 and while in program working it will become 0 NO! You cannot achieve this with preprocessor directives! The preprocessor evaluates the expressions at the time the compiler is run - if you want to evaluate them at run-time, you must write executable code to examine the bit at runtime, and branch accordingly. |