Home » Archived » Lua Development Tools » Debug Variable Window, Tables wrong order
Debug Variable Window, Tables wrong order [message #898633] |
Thu, 26 July 2012 18:53  |
Eclipse User |
|
|
|
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 19:07] by Moderator
|
|
| |
Goto Forum:
Current Time: Sun Jul 06 00:00:06 EDT 2025
Powered by FUDForum. Page generated in 0.03577 seconds
|