I assumed that the HIGH and LOW statements automatically set the used ports to outputs, so I will give that a try. I can't see that it would be a wiring problem, the breadboard simply has the PIC,s 4 LED's and resistors.

I did think at first that PIC might be dud, but this has happened to 3 of them! Anyway, will try your code and see what happens.

Matthew