Variables in functions ... What is best?

Fair enough, I will stick with the dynamic local for now but the insight is useful.
Thanks