Another option to set PortA to digital automatically is Darrel's "AllDigital.pbp" . It will set the required registers on the selected device to make PortA digital and there is also a provision to see which registers have been set by the "All Digital" include.
http://www.picbasic.co.uk/forum/showthread.php?t=11100
I have used this in almost all of my 16F designs.
Bookmarks