lua-users home
lua-l archive

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


On Sun, Jan 2, 2011 at 19:11, Patrick Rapin <toupie300@gmail.com> wrote:
> For me, it is strange that dofile() only takes one argument, the path
> to the script file.

> It seems so natural that additional parameters would be passed as
> arguments to the script.

I second this. I have to write assert(loadfile("filename"))(...) much
more often than I would like to.

Alexander.