0
How can I delete a variable after it's been used?
Basically, I want a way to delete X if Y equals 10, so that X cannot be used again until the program finishes.
2 odpowiedzi
+ 2
you can not delete variables in the middle of the execution of program.
variable will automatically get deleted when scope of the variable gets over.
+ 1
Thanks for the input, I see what you mean now. I wasn't thinking straight, all I had to do was change the variable to something else