"UnboundLocalError: local variable 'x' referenced before assignment" But it's a global variable
1462
UnboundLocalError on local variable when reassigned after first use
34224
What is an "index out of range" exception, and how do I fix it?
147916
C# error: Use of unassigned local variable
99196
How can I access local scope dynamically in javascript?
142412
How to get/set local variables of a function (from outside) in Python?
113622
Why does a large local array crash my program, but a global one doesn't?
89331
Variable does not exist in the current context?
131376
Module and Local variable
151617
Initialization global and static variable to 0 is always unnecessary?
110433
Locally declared variables can not be inspected
117778
class variables is shared across all instances in python?
112198
Global Variables vs. Local Variables
112400
Are quotes needed for local variable assignment?
117377
error: function returns address of local variable
114396
C# Structs: Unassigned local variable?
130597
Understanding Global & Local Scope in Javascript
35109
C++ global and local variables