Cool.. I was really bothered that the individual posts were confusing the concept that all these functions work together from a single file.. This also puts the majority of the dox in a single place.

I left the test code in a separate post, even though it isn't a UDF, it demonstrates how the UDF works and should be implemented. "scripts" might be a better place - technically - but would not keep the coherency of it's relationship to the udf.. We can bat that around a bit, maybe - if the post isn't TOOO big, put the test code in the UDF post itself. (?)

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