Module:No globals: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
From Module:No globals/sandbox, per Topic:Uyr5gphaxbpe5k4h
m (1 revision imported from w:Module:No_globals: per RFH) |
Mainframe98 (talk | contribs) (From Module:No globals/sandbox, per Topic:Uyr5gphaxbpe5k4h) |
||
Line 2:
function mt.__index (t, k)
if k ~= 'arg' then
error(require('Module:TNT').format('
end
return nil
Line 8:
function mt.__newindex(t, k, v)
if k ~= 'arg' then
error(require('Module:TNT').format('
end
rawset(t, k, v)
|