Code: Select all
obj := []
obj["123"] := "AutoHotkey"
for k in obj
MsgBox % Type(k)
MsgBox % obj.HasKey(123)
return
Also, obj["`t 123`t"] is considered the same as obj[123]v2-changes wrote:v2-changes: Numeric strings are now treated as strings, not integers. For instance, x[1] is not equivalent to x[n] where n contains "01" or "1", and the string keys "01" and "1" are no longer equivalent.