lua-users home
lua-l archive

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


"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.