How to read a port?!

njdurkin:
value = PORTA

and value should now be 1?/quote]

As Nick mentions, you need to read PINSA and not PORTA. Keep in mind that if the pins are floating you'll be reading random values on the unconnected pins.