[V 1.1] Object.Delete(Key) doesn't work in some cases
Posted: 23 Mar 2024, 13:07
When "Delete" is key of an object, Delete(Key) stops working. Some other key words could have similar issues, but I'm not sure. Please see the details in this thread:
viewtopic.php?f=76&t=127710&p=564519#p564519
I hope this can be fixed!
viewtopic.php?f=76&t=127710&p=564519#p564519
I hope this can be fixed!
Code: Select all
#Requires AutoHotkey v1
words := {"AAA": 1, "Delete": 2, "Add": 3, "Hello": 4}
NewWord := "AAA"
words[NewWord] := "5" ; Works
MsgBox % words[NewWord]
words.Delete(NewWord) ; Doesn't work
MsgBox % words[NewWord]