I tried writing and compiling a simple modification to the last code...
and no luck?
I thought I fixed this!?
After much digging around (and some unpleasant grumbling) I found out that the Hi Tech PIC compiler was installed in "evaluation mode" and that license expired.
I reinstalled and things worked okay. But I am sure it reinstalled in "evaluation mode" again.