[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Arguments of dofile
- From: Alexander Gladysh <agladysh@...>
- Date: Sun, 2 Jan 2011 19:17:24 +0300
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.