lua-users home
lua-l archive

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


> Just wondered if the following syntax is being considered at all:
> 
>   for i = 1, #... do
>     print(...[i])
>   end

#...  already has a meaning, thought it's not what you want it to be: it
applies # to the first argument.

...[i] currently does not a meaning but if it did it would have to be the
same as (...)[i], which indexes the first argument.