[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Arguments of dofile
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 4 Jan 2011 10:18:20 -0200
> There are some drawbacks of course: a little additional C code, and
> the behavior of 'arg' table which is not easy to define.
That should be enough to kill the proposal.
> By the way, I noticed that dofile in Lua [1] does not touch the global
> 'arg' table at all, which could lead to some bugs.
Changing this will not be backward compatible then.
dofile does a simple thing. For anything more complicated, use loadfile.