Home » Archived » Lua Development Tools » Debug Variable Window, Tables wrong order
Debug Variable Window, Tables wrong order [message #898633] |
Thu, 26 July 2012 22:53 |
uiy uiy Messages: 56 Registered: May 2012 |
Member |
|
|
The variables window seems to display tables in the wrong order.
When the index > 9 the elements come first
For example:
the following code
local t = {}
for i = 1, 15 do
table.insert(t, i)
end
ends up showing the table
{10,11,12,13,14,15,1,2,3,4,5,6,7,8,9}
instead of {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15}
I do not recall this behavior before but not sure if I just didn't pay attention or not.
This seems to be an issue with the print routine in general as it prints the wrong order too in the interactive console. (I use my own print routine which prints the correct order)
[Updated on: Thu, 26 July 2012 23:07] Report message to a moderator
|
|
| |
Goto Forum:
Current Time: Fri Sep 20 20:57:42 GMT 2024
Powered by FUDForum. Page generated in 0.03383 seconds
|