Why does this...
Code:
--------------------
local obj = json.decode( "{\"foo1\":\"foo1\", \"foo2\":\"foo2\",
\"foo3\":\"foo3\", \"foo4\":\"foo4\", \"foo5\":\"foo5\", \"foo6\":\"foo6\"}" )
for i,v in pairs(obj) do
menu:addItem({ text = v })
end
--------------------
...result in a menu with this order: foo3, foo6, foo2, foo1, foo5,
foo4
instead of: foo1, foo2, foo3, foo4, foo5, foo6
Any ideas?
--
aizoagch
------------------------------------------------------------------------
aizoagch's Profile: http://forums.slimdevices.com/member.php?userid=7455
View this thread: http://forums.slimdevices.com/showthread.php?t=42617
_______________________________________________
jive mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive