lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> 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.