lua-users home
lua-l archive

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


Roberto Ierusalimschy <roberto@inf.puc-rio.br> wrote :
>We will soon (by Easter?) release a new (alpha) version of Lua.

I was wondering if the new version still listen for users feadbacks.

foreachi() 

--->   foreachindex(list, function [, start [,stride [,end]]] )

Thanks goodness for this new function in ver 3.2.
After several programmings, I found it could change start index 0
and various increment. Also a much diffent name can reduce typo error
against 'foreach'. i.e. forloop(), forcount(), forindex(), ...
whatever you like. But, the name should stay unchanged if many users
use it.


________________________________________
Yutaka UENO  Electrotechnical Laboratory
1-1-4 Umezono, Tukuba 305-8568 Japan  TEL +(298)61-5965 /FAX 5938