Visibility of variables declared inside main block to functions declared in main block?
1462
UnboundLocalError on local variable when reassigned after first use
45785
The scope of variable in inner anonymous method
88160
What happens to global variables declared in a DLL?
99292
Why aren't variables declared in "try" in scope in "catch" or "finally"?
43438
Get visibility of a block
21964
What are the conventions for indicating programming variables within text?
18605
Local variables in nested functions
83978
Is it legal to recurse into main() in C++?
27136
Reference: What is variable scope, which variables are accessible from where and what are "undefined variable" errors?
91047
Pre-declare all private/local variables?
133111
How do I share variables between two functions?
87784
Do class functions/variables have to be declared before being used?
154501
What does (void) 'variable name' do at the beginning of a C function?
64217
Writing a function inside the main method - Java
48128
Declaring variables inside or outside of a loop
7167
difference between variables inside and outside of __init__()
2063
Can a local variable's memory be accessed outside its scope?