Modulo:No globals

Hello, you have come here looking for the meaning of the word Modulo:No globals. In DICTIOUS you will not only get to know all the dictionary meanings for the word Modulo:No globals, but we will also tell you about its etymology, its characteristics and you will know how to say Modulo:No globals in singular and plural. Everything you need to know about the word Modulo:No globals you have here. The definition of the word Modulo:No globals will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModulo:No globals, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.

La documentazione per questo modulo può essere creata in Modulo:No globals/man

-- Il modulo è stato importato da:
-- https://en.wikipedia.orghttps://it.wiktionary.org/w/index.php?title=Module:No_globals&oldid=606781024

local mt = getmetatable(_G) or {}
function mt.__index (t, k)
	if k ~= 'arg' then
		error('Tried to read nil global ' .. tostring(k), 2)
	end
	return nil
end
function mt.__newindex(t, k, v)
	if k ~= 'arg' then
		error('Tried to write global ' .. tostring(k), 2)
	end
	rawset(t, k, v)
end
setmetatable(_G, mt)