local functions={}
local function functions.test()
local a="eee"
print(a)
end
return functions
Need to put local in all the functions or variables, or a function/variable inside a table/function, are always local?
or if the table/function is local, al his “child” are local?
local functions={}
function functions.test()
a="eee" --or this need to be local?
print(a)
end
return functions
thanks