I have been digging around the PBP complier and have found:

In the file '18F8722.BAS' there are the lines:

PORTH VAR BYTE EXT
@PORTH EQU PORTC

Is this the cause of the problem?

Regards Bill Legge