When assigning to the function name, followed by EXIT SUB. fix: use local retVal variable, assign to function name after WEND
When assigning to the function name, followed by EXIT SUB.
fix: use local retVal variable, assign to function name after WEND