ADCON.7 will not compile because it is a wrong command. You need to use ADCON2.7=1