I have a Notebook A with default context: "Unique to this Notebook". In there I set an option:
SetOptions[Interpolation, InterpolationOrder -> 1]
This has however an effect on my other notebook which has a default context: "Global".
How can I set that option for Interpolation
, just affecting the function inside the notebook's A context?
Second question :
In the notebook A I can type:
$Context
And get somthing like:
>>>"Notebook$$18$462796`"
From notebook B I can access a variable varA
of A, by typing:
Notebook$$18$462796`varA
Is there a way in which I can store the A Notebook's context in another variable to call it from different parts of my code, something like:
AContxt=Notebook$$18$462796
varAnb=AContxt`varA
This last thing doesn't work, I would like to understand why.
Thanks