
Originally Posted by
J. Mark Wolf
I need to store approx 300 words elements (600 bytes) in a table.
It looks like Lookup2 craps out at 256 words, and Lookup does the same at 256 bytes.
Any workarounds? (That EXT modifier looks kinda scary)
One work around is to use two lookup2 statements. Placed one right after the other.
Example, 150 in each words table,
Code:
Gosub MYTABLE
MYTABLE:
If INDEX > 150 then MYTABLE2
LOOKUP2 INDEX, [1,....150],VAR
goto endtable
MYTABLE2:
INDEX = INDEX - 150
LOOKUP2 INDEX,[151...300],VAR
endtable:
Return
Bookmarks