Thanks Henrik.
So if you have a PIC 18F1320 and you wish to make it all digital inputs is there one command to do this or do you have to do an ADCON0=1, and so on for all the A/D's (I think there are 7)?

Thanks, Ed