|
Solaras Wanderer
Joined: 11 Mar 2002 Posts: 93
|
Posted: Wed Oct 10, 2007 1:55 am
[2.05] #DELKEY not firing |
Doesn't seem to work at all.
Started an untitled session, no settings, offline mode.
#addkey testing test1 1
#addkey testing test2 1
#addkey testing test3 1
#say @testing
Result: test1=1|test2=1|test3=1
#delkey testing test1
#delkey testing test2
#delkey testing test3
#say @testing
Result: test1=1|test2=1|test3=1 |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Wed Oct 10, 2007 2:02 am |
Confirmed. Wonder what happened.
|
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Wed Oct 10, 2007 2:06 am |
Hmm, not sure what happened here, but I'll add it to the bug list. Thanks for the report.
My best guess is that it's deleting the key, but now flagging the string cache as needing an update. So #say shows the same cached string value as before. |
|
|
|
Solaras Wanderer
Joined: 11 Mar 2002 Posts: 93
|
Posted: Wed Oct 10, 2007 2:11 am |
This is true. It deletes the key, but what's in memory is not changing, so accessing the variable at all reflects what is in memory instead of what should be the updated variable.
You can delkey and look at it in the package editor and see the key gone. |
|
|
|
|
|