lua-users home
lua-l archive

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


M Joonas Pihlaja wrote:
> Using pairs().
> 
> for _,v in pairs{'lumpi','ist','mein',hund'} do
>    print(v)
> end

Which doesn't guarantee ordering. The current implementation might, but
that's not to be relied on.

I guess you can always roll your own if you need it, but the same is
true of pairs().

	Ben