Re: How to "reset" the Lua environment?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: How to "reset" the Lua environment?
- From: Alex Queiroz <asandroq@...>
- Date: 2006年1月25日 11:33:21 -0300
Hallo,
On 25/01/06, Jose Marin <jose_marin2@yahoo.com.br> wrote:
>
> I want that, if I run two scripts, the second script
> don't have access to the functions/variables created
> on the first one. The previous environment must be
> "clean".
>
You could create a new environment for each script to run, and
then discard the environment after running the script.
--
-alex
http://www.ventonegro.org/