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?


1 Answer 1


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.