Quote Originally Posted by HankMcSpank View Post
lookup2 only allows up to 85 values in the list. ...

That was increased to 1024 in PBP3.
Bug fixes and tweaks:
  • Limit on LOOKUP2 item list increased to 1024 for Mid-Range and Enhanced Mid-Range architectures.
  • ...
But each value in a LOOKUP2 requires 3 WORDs.
1024 values will use 3K from the 4K available on the 12F1840..


Any other ideas how to get creative ...I just need to reference at least 512 values in a list (actually, I'd ideally like 1024 values) for a modest 12f1840? (it's got 7kb of program space)

This method can store 1024 14-bit values in 1024 words of program space.
http://www.picbasic.co.uk/forum/show...php?t=3891#LAB