lua-users home
lua-l archive

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



The () enclosing is a BAAD THING.  Really.

I _know_ it, and still I've messed up with it once. It should be banned from Lua, forever! There's too many C people using Lua, and in C that does nothing.

-ak		(don't reply - this is a dejavu thread..)


20.8.2004 kello 02:03, Diego Nehab kirjoitti:

 Hi,

We also plan a new function select(i, ...), that returns its i-th
argument. So you can loop over the varargs with something like

I would prefer a skip() function that simply discarded the first 'n'
arguments. Then you can enclose in () and have the effect of select().

[]s,
Diego.