Modul:No globals: Redaktələr arasındakı fərq

Səhifəni '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.__...' ilə yarat
 
Redaktənin izahı yoxdur
Sətir 2: Sətir 2:
function mt.__index (t, k)
function mt.__index (t, k)
if k ~= 'arg' then
if k ~= 'arg' then
error('Tried to read nil global ' .. tostring(k), 2)
error('Tried to read nil global ')
end
end
return nil
return nil