Henrik is right. You can then tweak his approaches to use headers (prefix codes) and footers (suffix codes).
Robert
Edit: "waste" is relative. It depends on your PIC, program size and variables used. If you have little codespace, option 1 might be better.
If you "have" to use memory and you have little left on the PIC, is I/O time to external storage a concern?
It all depends on your PIC, application requirements and personal preference.
Bookmarks