Any ideas?
Yes, you're on the wrong forum. This one is for compilers that work...

But if your pin is showing 0v... it looks like the pin is switched to OUTPUT and not INPUT. TRIS statements take care of that in the MeLabs compilers... but from your code it doesn't look like you've one of those.

Oh... looking again... your TRISA=$F0 has PortA.0 as an OUTPUT.