lua-users home
lua-l archive

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


Hi,

I guess it must be
for i=0, #array do ... end
as array[0] does not count in #

--
Oliver

for i=0,#array-1 do print(array[i]) end