a = 1
b = 2
c = 3
function hi()
print("hi")
end
print(getfenv(hi) == getfenv())
And that prints "true". So, how would I use getfenv with a function, and why would I do that?
a = 1
b = 2
c = 3
function hi()
print("hi")
end
print(getfenv(hi) == getfenv())
And that prints "true". So, how would I use getfenv with a function, and why would I do that?
This discussion is preserved as it was. New answers, comments, and votes are closed.