lua-users home
lua-l archive

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


Running the code below a few times shows some numerical keys:

t={w=0,x=100,y=200,z=300}
for i=10,1,-1 do t[i]=i end
for k,v in kpairs(t) do print(k,v) end