|
|
||
|
Hello,
How can I access a global variable after a redeclaration as a local? Ex:
x = 123
for i = 0, 10 do
local x = x + 1 -- local x = global x + 1, ok because the local var
doesn't exist yet.
if x == 130 then
[global x] = -x -- global x = negative of local x
end
end
Thanx,
Leandro.