Charles,
I see Darrel's point. But in my case if I were to use your "shotgun" approach I would worry about accidentally setting up conflicting registers. In fact I just did that today. I thought I had set a port to all digital I/O by disabling comparators AND configuring the A/D properly, but I accidentally set a bit that I did not need to in the ADCON0 register and it took me an hour to see my error.

cncmachineguy,
Listening to the question is good, as is reading answers from Darrell.

My wife and I have an agreement "I am always right - unless she's right"! What would we do with out our wives?