Re: Is it necessary to kill ipairs()?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Is it necessary to kill ipairs()?
- From: Ben Kelly <ranavin@...>
- Date: 2010年5月22日 09:48:26 -0400
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