| Message |
It has been a long time since I did this, and it could be my fault, but I thought I'd tell you to check it out in case it was a bug, can't hurt anyway :)
A few weeks ago I was making a plugin to store an array in variables. What I did was this:
Dim intCounter
For intCounter = 1 to 10
DeleteVariable "World_Variable_" & intCounter
Next
SetVariable "World_Variable_1", "stuff"
The state file had 3 variables in it, "World_Variable_1" to 3. The script deleted them and added the variable 1, but they weren't deleted from the state file. No matter how many times I ran it, it always had 3 variables in it. I even did World.Note to see if they were deleted, and it clearly showed that it deleted the 3 variables and inserted the other one, but when I ran it again, it still deleted 3 variables. I just deleted the state file and it runs fine now, but it struck me as odd... Maybe Nick could look into it? |
Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it! | top |
|