[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Extending dofile() to pass arguments
- From: Patrick Rapin <toupie300@...>
- Date: Wed, 4 Jan 2012 09:13:32 +0100
> Just wondering if there's a compelling reason not to do this.
Just a year ago, I asked for the same thing .
One conclusion from the thread was that the behavior of the argument
table "arg" is hard to define.
In LuaDura, I have redefined dofile to accept a variable number of
arguments several years ago.
No user ever complained about side effects.
The only problem IMHO is that LuaDura users may consider that this is
a standard feature...