The Lua 5.1 setfenv example can be written using the special _ENV variable in Lua 5.2: > function test(_ENV) return A + 2*B end > t = {A=10; ...
確定! 回上一頁