Quote Originally Posted by DataMiser View Post
... it really makes no sense to create a function that returns exactly what it has been passed. I have no idea why such a function would be created.
If you look more carefully, the mCaption-Variable is not defined at Procedure-Scope ... and the line
which comes in-between the return of the mCaption-Result - is a modal Message-Loop,
which keeps showing a Form, which in turn could make a whole lot of things happen in its lifespan
(besides setting a simple Variable, one could ensure "World-Peace" and "What-Not" for example).

Maybe the original Posting is helpful, to understand what the function does and what I had in mind...
http://www.vbforums.com/showthread.p...=1#post4756167

Olaf