Hi,
Checked the datasheet lately? ;-)
PORTA is an 8-bit wide latch. RA4 is Schmitt Trigger input and an open drain output.
Open drain output, only switches to GND, floating when set "high".

/Henrik.