How to decide when to globally declare variables or locally declare variables>?
I'm wondering which method is better. Thanks in advance.