I'll give writing to it,THEN setting TRISIO a try... I tried modifying TRISIO within the program previously and it gave me an error at compile time - I'm not sure why.

The high impedance state shouldn't have mattered for me - I was driving a reed relay (diode protected) with an active high, so it should have acted like a pull-down resistor at power-up time.

picster