[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: How does lua store data in a table?
- From: Miles Bader <miles@...>
- Date: Fri, 30 Mar 2012 18:11:07 +0900
"devfua" <devfua@qq.com> writes:
> How does lua store data in a table and is there any way to get data in the order of putting them in ?
It's a hash table; there's no record of the order you put the data in.
If you need that info, you'll have to explicitly keep track of it yourself.
-miles
--
Absurdity, n. A statement or belief manifestly inconsistent with one's own
opinion.