I have a Lua code below :
a, b = 1, 10 if a<b then print(a) local a print(a) end print(a, b)
Just a small question :
first of all, I created a global variable a = 1;
then in the then block I use the global variable a to print it;
and then I declared a local variable a that is not initialized ( thus it gets the value nil )
Then my question comes : how could I get access to the global variable a after having created the local variable a in the then block , is that possible ? If so, please give me an answer :)