[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: should we add a name for global std-function.
- From: Miles Bader <miles@...>
- Date: Fri, 10 Dec 2010 12:56:11 +0900
starwing <weasley.wx@gmail.com> writes:
> then, how could we add all (builtin) function into a new _ENV? there are
> some practice way to do it?
hmm,
do
local _ENV = setmetatable ({}, {__index = _G})
...
end
or something?
-miles
--
The secret to creativity is knowing how to hide your sources.
--Albert Einstein