I'm sorry to the list....

After I posted that last question, it hit me like a brick... That was being really immature... I knew what I wanted to happen, but I hung when I saw a bit of code that was confusing to me. I had an idea what might work but instead of trying to test it myself, I defaulted to asking the list. Very poor.. I should have at least tried something and done some of my own work first instead of asking others to do it for me.

My feeble assumption proved so far to be correct, by adding the LOOKUP into what I now call KeyPadRM.bas (the RM for ReMap), and making sure to save it as a .bas, I can eliminate many redundant lines of code. The edit is at the end of Steve's code:
Code:
......
            until row>(KB_ROW-1)                           
        if (single_scan=0) AND (KEY=0) then ScanKeypad     ; Row scan finished?
  LOOKUP  Key,[0,1,2,3,10,4,5,6,11,7,8,9,12,15,14,16,13],Key ; ReMap Edit  
      RETURN                                                 ; any key pressed?      
ReadCol:
    KeyTemp=kb_col_PORT>>kb_col_Bit                        ; Read Column state
    KeyTemp=KeyTemp & kEYMASK                              ; Keep only wanted bits
    return

JumpOverKeyScan:
Any corrections of my understanding are welcome.
Bo