Hi,
Depending on the volume of sales you expect, it may be worth the expense of switching to a different compiler for this project.
I’ve heard that the Hitech PIC C-compiler is very good at producing lean and reliable code. It’s pricey though.
Another option is the Proton compiler (at least the latest version that comes with PDS). A guy on that forum was able to compile your program using only 12 vars. This is a much cheaper option and should be really easy to port over from PBP (both are basic compilers).
Alternatively, maybe someone on the PDS forum could simply give you the HEX file for your program (for free or maybe only a small fee).
It’s a pretty simple program so, unless you’re planning on making lots of changes to it, that may be the cheapest option.
Cheers,
Bookmarks