Code: Select all
aaa := {
a: 1,
b: 2
}
for k, v in aaa
{
MsgBox k
}
So in AHK 2, such thing as { a: 1, b: 2 } is no longer an enumerator? I really can't figure out what's causing the error here.Error: Type mismatch.
Specifically: __Enum
Line#
001: aaa := { a: 1, b: 2 }
006: For k,v in aaa
007: {
008: MsgBox(k)
009: }
010: Exit
011: Exit
011: Exit