Bug Report: Arrays turn into Dictionaries and Sorting

ReiWei

New member
I'm very sorry if this is the wrong place (this is my first post) or if this has been discussed (I searched but couldn't find anything)...



Array Bug:



If you use "clear variables" on an array, it turns it into a dictionary; it still shows the icon of an array, but if you go to delete it, it shows the options for a dictionary. It also behaves like a dictionary, shown below.



Dictionary Bug (?):



When you "dialog display" an array with say 1 to 25 index values, it shows this:



[1] -> 1
[2] -> 2
[3] -> 3
[4] -> 4
[5] -> 5
[6] -> 6
[7] -> 7
[8] -> 8
[9] -> 9
[10] -> 10
[11] -> 11
[12] -> 12
[13] -> 13
[14] -> 14
[15] -> 15
[16] -> 16
[17] -> 17
[18] -> 18
[19] -> 19
[20] -> 20
[21] -> 21
[22] -> 22
[23] -> 23
[24] -> 24
[25] -> 25


But if you do the same with a dictionary (OR if clear an array variable, and run it again) it displays this:



[1] -> 1
[2] -> 2
[3] -> 3
[4] -> 4
[5] -> 5
[6] -> 6
[7] -> 7
[8] -> 8
[9] -> 9
[10] -> 10
[20] -> 20
[11] -> 11
[21] -> 21
[12] -> 12
[22] -> 22
[13] -> 13
[23] -> 23
[14] -> 14
[24] -> 24
[15] -> 15
[25] -> 25
[16] -> 16
[17] -> 17
[18] -> 18
[19] -> 19


So, seemingly, dictionaries have wonky sorting... (I don't know if this is a feature of dictionaries that I'm not aware of, my apologies if so)
 

Dm114

Well-known member
I'm very sorry if this is the wrong place (this is my first post) or if this has been discussed (I searched but couldn't find anything)...



Array Bug:



If you use "clear variables" on an array, it turns it into a dictionary; it still shows the icon of an array, but if you go to delete it, it shows the options for a dictionary. It also behaves like a dictionary, shown below.



Dictionary Bug (?):



When you "dialog display" an array with say 1 to 25 index values, it shows this:



[1] -> 1
[2] -> 2
[3] -> 3
[4] -> 4
[5] -> 5
[6] -> 6
[7] -> 7
[8] -> 8
[9] -> 9
[10] -> 10
[11] -> 11
[12] -> 12
[13] -> 13
[14] -> 14
[15] -> 15
[16] -> 16
[17] -> 17
[18] -> 18
[19] -> 19
[20] -> 20
[21] -> 21
[22] -> 22
[23] -> 23
[24] -> 24
[25] -> 25


But if you do the same with a dictionary (OR if clear an array variable, and run it again) it displays this:



[1] -> 1
[2] -> 2
[3] -> 3
[4] -> 4
[5] -> 5
[6] -> 6
[7] -> 7
[8] -> 8
[9] -> 9
[10] -> 10
[20] -> 20
[11] -> 11
[21] -> 21
[12] -> 12
[22] -> 22
[13] -> 13
[23] -> 23
[14] -> 14
[24] -> 24
[15] -> 15
[25] -> 25
[16] -> 16
[17] -> 17
[18] -> 18
[19] -> 19


So, seemingly, dictionaries have wonky sorting... (I don't know if this is a feature of dictionaries that I'm not aware of, my apologies if so)
Yes, this is a problem @MacroDroidDev is fully aware of. As dictionaries/arrays is a recent feature that involves a lot of dev work, some functionalities are not totally "clear and clean"...
 
Top