Good article. I appreciate the way you put a parameter list at the top of the article as well as in the function itself. This made it easier to understand at first glance.
I also enjoyed the variations that others have provided.
Ian.
"If you are going through hell, keep going."
-- Winston Churchill