Don't you need to change your command to ADCIN 4, adval to get AN4?

I personally have been using Melanies direct method reading analog values that can be seen in this thread

http://www.picbasic.co.uk/forum/show...ghlight=adcon0

Its pretty straight forward and I can understand what is going on.