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

Back to Subject List

Thread Closed: Issue successfully resolved

???
04/04/07 23:32
Read: times


 
#136636 - Beware of leading zeros!
Responding to: ???'s previous message
In 'C', a leading zero indicates that a number is Octal!

So "08" should give you an error - you need to write either "8" or "0x08"

List of 8 messages in thread
TopicAuthorDate
not within a while statement in 8051            01/01/70 00:00      
   Textbook time            01/01/70 00:00      
      sorry about that            01/01/70 00:00      
         08 is not a valid number!            01/01/70 00:00      
      Compound statements            01/01/70 00:00      
         Thanks            01/01/70 00:00      
   Beware of leading zeros!            01/01/70 00:00      
   Evaluate it yourself!            01/01/70 00:00      

Back to Subject List