I spoke too soon

http://tech.groups.yahoo.com/group/jallist/message/28386

Quote
I'll add this to the documentation. `pragma eeprom' creates two
variables:

_eeprom -- a constant array of type byte
_eeprom_used -- a constant dword with the number of entries
currently in the EEPROM

so...COUNT(_eeprom) will give you the total size of the EEPROM. And,
since it is
simply a constant array, you can also do things like:

xx = _eeprom[5]
xx = _eeprom[xx]

I *strongly* discourage using _eeprom[expr] as that will create a
lookup table
the size of the EEPROM.

(for what it's worth, this is also true for `pragma id' which created
_id and
_id_used).

--kyle


-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to