And - sorta 180 degrees from what you are asking... my KGen tool resolves dependencies on the external functions and generates a script with all necessary functions embedded in a single script. This is kind of like the link-editor phase of a compiler.

KGen is a free tool, and is available from my web site - look for the KixDev section. I thought you might find it interesting, based on your comments.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D