Possible Duplicate:
Is there a way to separate variables between multiple notebooks?

I assigned a global variable like a=10; It works in all my notebooks, but I want to restrict that global variable to that notebook only.

How to do that?


marked as duplicate by rm -rf, Leonid Shifrin, Dr. belisarius, Ajasja, Mr.Wizard Jul 15 '12 at 19:58

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


Go to Notebooks->Notebook's Default Context and select Unique to this notebook:

enter image description here

Now, could you possibly use more reasonable capitalization and punctuation in your questions?


Not the answer you're looking for? Browse other questions tagged or ask your own question.