Module:No globals

From The Pinched Universe
Revision as of 20:46, 25 June 2024 by Hori (talk | contribs) (Created page with "local a=getmetatable(_G)or{}function a.__index(b,c)if c~='arg'then error('Tried to read nil global '..tostring(c),2)end;return nil end;function a.__newindex(b,c,d)if c~='arg'then error('Tried to write global '..tostring(c),2)end;rawset(b,c,d)end;setmetatable(_G,a)")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The documentation for this module is not intended to be hosted on this wiki.

However, you might be able to find it at one of the following locations:

local a=getmetatable(_G)or{}function a.__index(b,c)if c~='arg'then error('Tried to read nil global '..tostring(c),2)end;return nil end;function a.__newindex(b,c,d)if c~='arg'then error('Tried to write global '..tostring(c),2)end;rawset(b,c,d)end;setmetatable(_G,a)