distinguish Local and Global variable:
4272
Short description of the scoping rules?
96120
What is the difference between local and global in a TeX meaning?
33125
Unbound Local Error with global variable
113603
Declare local variables as late as possible or at the nearest curly brace they belong?
129168
scope of local variable in enhanced for-loop
68137
Independence and conditional independence between random variables
73866
Why must local variables have initial values?
139582
Converse of "localization at a prime is local"
109716
How to print value of global variable and local variable having same name?
49009
Variable scope similar to other languages
129423
How to change a global variable from within a function?
46673
Global variables in Javascript across multiple files
44145
Creating global variable in python 3 from functions
67741
bound and free variables
97008
Returning a function built with local (block) variables
2266
Why is my variable local in one 'while read' loop, but not in another seemingly similar loop?
43419
At unique critical point, does local max imply global max?