Nevermind. You would need too many entries in the LOOKUP constant fields. That would be 64 entries to be precise since your variable PORT has 6 bits. It will be something like this
Still, it might be faster than NCD, but I don't know.Code:LOOKUP MyPort, [0,1,2,2,3,3,3,3,4,........], MyVar





Bookmarks