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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/13/08 00:40
Read: times


 
Msg Score: +1
 +1 Good Answer/Helpful
#155785 - and, in that case ...
Responding to: ???'s previous message
Note that strlen works for the special case of a NUL-terminated string only - it cannot just be used on any arbitrary array...
.. why worry about the lenght, just stop when you see the terminator.

Erik


List of 16 messages in thread
TopicAuthorDate
EEPROM ... floating & string read - write            01/01/70 00:00      
   byte by byte...            01/01/70 00:00      
   you know as much as the EEPROM does!            01/01/70 00:00      
   Strings & Things            01/01/70 00:00      
      Not just floats, save structures too            01/01/70 00:00      
         I do it too :)            01/01/70 00:00      
         Array            01/01/70 00:00      
            and, in that case ...            01/01/70 00:00      
               details ...            01/01/70 00:00      
                  what does it mean "not succeeded"?            01/01/70 00:00      
   float is possible but not STRINGS ...            01/01/70 00:00      
      No magic involved            01/01/70 00:00      
         and where's the terminating null char written?            01/01/70 00:00      
            which EEPROM            01/01/70 00:00      
               No, you don't            01/01/70 00:00      
   does NVRwrite matches your EEPROM            01/01/70 00:00      

Back to Subject List