Module:No globals: Difference between revisions
Content added Content deleted
MusikAnimal (talk | contribs) m (1 revision imported) |
MusikAnimal (talk | contribs) (Undid revision 948472525 by [[Special:Contributions/w>DiBabelYurikBot|w>DiBabelYurikBot]] ([[User talk:w>DiBabelYurikBot|talk]])) |
||
Line 2:
function mt.__index (t, k)
if k ~= 'arg' then
error('Tried to read nil global ' .. tostring(k), 2)
end
return nil
Line 9 ⟶ 8:
function mt.__newindex(t, k, v)
if k ~= 'arg' then
error
end
rawset(t, k, v)
|
Revision as of 06:28, 1 April 2020
Documentation for this module may be created at Module:No globals/doc