Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

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?

share|improve this question
add comment

marked as duplicate by rm -rf, Leonid Shifrin, 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.

1 Answer

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?

share|improve this answer
add comment

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