Do not mix up the ADCIN defines and the bit banging from Bruce's example.
Some more reading..
http://www.picbasic.co.uk/forum/showthread.php?t=2188

And a snippet for 10 bit banging..
Code:
ADCON1.7 = 1

	gosub getAD



	press.highbyte = ADRESH

	press.lowbyte = ADRESL

	return
Do a search for 10 bit ADC also..
http://www.picbasic.co.uk/forum/showthread.php?t=4751