When I run the following code, the ini file is created correctly, however the data is not in the same order in which it is in the array. Is there any way to fix this?
Code: Select all
hks := {"^+q": "exit"
,"^right": "next"
,"^left": "previous"
,"^enter": "select"}
for k, v in hks
iniWrite, %k%, config.ini, %v%, hk
[exit]
hk=^+q
[select]
hk=^enter
[previous]
hk=^left
[next]
hk=^right
I don't know if I'm missing something ...