Hi,
Not wanting to sound like a smart-ass but since you asked for a resource I'm going to send you right back to the manual. Section 4.9 covers the #CONFIG/#ENDCONFIG directive in some detail and there's quite a bit of information on this forum.

/Henrik.