lua-users home
lua-l archive

Re: So I had this weird idea to solve the indexing problem

[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

AltStyle によって変換されたページ (->オリジナル) /