Re: Lua 5.1+ and variable-argument tables
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Lua 5.1+ and variable-argument tables
- From: Asko Kauppi <asko.kauppi@...>
- Date: 2004年8月20日 21:41:32 +0300
20.8.2004 kello 19:31, Rici Lake kirjoitti:
I don't see passing parameters to main chunks being particular
difficult now;
Then how do you do it?
I use a global 'arg' (doesn't have to be that name, but makes sense..)
and I do feel it's clumsy.
Especially annoying is the fact that in pure Lua5, the script cannot
know it's location. Imho, it should (could) get it at 'arg[0]'.
Anyhow, I feel the 'arg' thing should away.
-ak
(..or was it Karthago? ;)