The problem is that PORTB.0 not detecting

I swapped B.o and B.1 keypad lines - problem remains with B.0

Changed to another 16f877 chip - problem remains with B.0

I noticed your last post about
DEFINE KEYPAD_COL_BIT ' COL 1 = PORTB.1.


I am connected to PORTB pins 0 through 3. I had the setting above and changed it to:
DEFINE KEYPAD_COL_BIT 0 ' COL0 = PORTB.0

PORTB.0 now works but B.3 now does not.
It's like I'm scanning only 3 bits