ഘടകം:No globals

abhiprayavedi.org സംരംഭത്തിൽ നിന്ന്
03:51, 5 മേയ് 2016-നു ഉണ്ടായിരുന്ന രൂപം സൃഷ്ടിച്ചത്:- Abhip6c6 (സംവാദം | സംഭാവനകൾ) (ഒരു പതിപ്പ് ഇറക്കുമതി ചെയ്തു)
(മാറ്റം) ←പഴയ രൂപം | ഇപ്പോഴുള്ള രൂപം (മാറ്റം) | പുതിയ രൂപം→ (മാറ്റം)
Jump to navigation Jump to search

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)

"http://abhiprayavedi.org/index.php?title=ഘടകം:No_globals&oldid=118" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്