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

Back to Subject List

Thread Closed: Thread will re-open when original poster replies

???
04/13/07 16:46
Read: times


 
#137189 - example
Responding to: ???'s previous message
I said:
did you use copy-and-paste to get it into your post?
(if you didn't, you could easily have fixed a typo when you manually re-typed it...)

For example, the following is syntactically valid, and would give the behaviour you describe:
   if( a > 1.2 ) 
      P1=20; 
   else; 
      P1=10; 
Spot the deliberate typo...

List of 12 messages in thread
TopicAuthorDate
if else statements in keil c51            01/01/70 00:00      
   Things to check            01/01/70 00:00      
      example            01/01/70 00:00      
   And it might help to use hex            01/01/70 00:00      
      floating point            01/01/70 00:00      
         Not true            01/01/70 00:00      
            further...            01/01/70 00:00      
   I suggest you read this..            01/01/70 00:00      
   Test Seems To Work            01/01/70 00:00      
      SDCC version works also            01/01/70 00:00      
         Testing the typo...            01/01/70 00:00      
   its a lot easier to use fixed point            01/01/70 00:00      

Back to Subject List