Lol well I’m not the only one up late & can’t sleep
Still I’m sure rsocor01’s original snippet would beat them all,
and the NCD command could be used to generate all the lookup table,
just that it’s going to be impractical to use a 255/256 byte table for every purpose.
Code:LOOKUP MyPort, [0,1,2,2,3,3,3,3,4,........], MyVar





Bookmarks