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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/12/08 23:41
Read: times


 
#155781 - Array
Responding to: ???'s previous message
Jerson Fernandes said:
For an array (sic), you need to use the strlen function to find the length of the string to save.

Note that strlen works for the special case of a NUL-terminated string only - it cannot just be used on any arbitrary array...




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