Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
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:
on poweron slow_chrg bit is 1 and while in program working it will become 0
(my emphasis)

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.



List of 20 messages in thread
TopicAuthorDate
how to use to header files in one file            01/01/70 00:00      
   RE: how to use to header files in one file            01/01/70 00:00      
   RE: how to use to header files in one file            01/01/70 00:00      
      RE: how to use to header files in one file            01/01/70 00:00      
         RE: no sense whatsoever            01/01/70 00:00      
            RE: no sense whatsoever            01/01/70 00:00      
   Preprocessor!!            01/01/70 00:00      
   RE: how to use to header files in one fi            01/01/70 00:00      
      RE: how to use to header files in one fi            01/01/70 00:00      
         RE: how to use to header files in one fi            01/01/70 00:00      
            RE: how to use to header files in one fi            01/01/70 00:00      
         RE: how to use to header files in one fi            01/01/70 00:00      
      RE: how to use to header files in one fi            01/01/70 00:00      
         RE: how to use to header files in one fi            01/01/70 00:00      
            no, No, NO, NOOOOOOOOOOOOOO!!            01/01/70 00:00      
               RE: no, No, NO, NOOOOOOOOOOOOOO!!            01/01/70 00:00      
   what header files ???            01/01/70 00:00      
      RE: what header files ???            01/01/70 00:00      
         Raja: Do you understand the preprocessor            01/01/70 00:00      
            What the preprocessor does            01/01/70 00:00      

Back to Subject List