lua-users home
lua-l archive

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


> Another example is this:
> 
> $ lua -e 't={x=1,y=2,[1]=3,[2]=4,[3]=5}; for k,v in pairs(t) do print(k,v) end'

Note that, in this example, the table is a proper sequence since the
beginning.

-- Roberto