I know that internal variables are destroyed from functions when theyve finished executing, but is there no way to obtain there value somehow?

There are two variables in a function I have created that I could really do with accessing!