Storing 1024 WORD values in LOOKUP2 statements would take over 8K words of program space.

But using the technique described here ... http://www.picbasic.co.uk/forum/show...php?t=3891#LAB
You can do it with just over 1K.

Faster, smaller, no external parts.