𨀈𬧐內容

模庉:No globals

番版𠓨𣅶22:00、𣈜19𣎃3𢆥2025𧵑Keepout2010 (討論 | 㨂𢵰) (造張㵋貝內容「local mt = getmetatable(_G) or {} function mt.__index (t, k) if k ~= 'arg' then error('Cố đọc biến toàn cục nil ' .. tostring(k), 2) end return nil end function mt.__newindex(t, k, v) if k ~= 'arg' then error('Cố ghi biến toàn cục ' .. tostring(k), 2) end rawset(t, k, v) end setmetatable(_G, mt)」)
(恪) ←番版𫇰 | 番版㵋一 (恪) | 番版㵋→ (恪)

固体𢪏材料𧗱模庉尼在模庉:No globals/材料

local mt = getmetatable(_G) or {}
function mt.__index (t, k)
	if k ~= 'arg' then
		error('Cố đọc biến toàn cục nil ' .. tostring(k), 2)
	end
	return nil
end
function mt.__newindex(t, k, v)
	if k ~= 'arg' then
		error('Cố ghi biến toàn cục ' .. tostring(k), 2)
	end
	rawset(t, k, v)
end
setmetatable(_G, mt)