I may be wrong, but I don't think those variables and/or arguments will be exposed globally. In my limited testing, they weren't exposed even when listed are globals by VLIDE. I think it is a bug/feature of the syntax checker when it encounters nested function rather than a true global variable.
If you test it at the command line using !varname, can you access the variables?