# Erase saved Values ?

Posted 10 months ago
1018 Views
|
3 Replies
|
0 Total Likes
|
 Hi, in a Notebook, I defined some constants by numerical values. But I cannot erase that definition. Neither by opening a new Notebook, nor by using the command "Clear". Does someone know how to do that?
3 Replies
Sort By:
Posted 10 months ago
 What did you do exactly with Clear? This way works for me: a = 1; Clear[a] Another way: a = 1; a =. A more drastic Clear, that wipes out all symbols in the Global context: Clear["Global*"] 
 Perhaps you are troubled that the symbol a remains even after you use Clear on it:  Names["Global*"] {} a = 1; Clear[a] Names["Global*"] {a} In that case, you could use Remove instead of Clear:  Remove[a] Names["Global*"] {}