Hi Norm,
I was referring to the ampersand and parameter name, as is now shown in your updated code, so the problem must lie elsewhere. I'll give it some further thought. One other option to try would be to pass the internal variable values instead of the external ones.
Regards,
Mustafa.