Question: Can I set the implicitly declared type as global?

I constantly need to run a part of my code. I define that part as a proc. But each time, I need to check all the variables appears inside the proc are declared as global, otherwise the output will be ruined. I figured if I can set the implicitly declared type in a proc as global then things will become simple.
Please Wait...