Originally Posted by kerrang
So if we take this function
...
name,stack,duration,timeleft are all declared as global variables?
|
Yes, unless they were previously declared as locals and being accessed as upvalues. Try it:
Code:
local function test()
name = "MyTest"
end
test()
print(name)