My Mathematica variable scope is set to
Notebook, more about it here: What is my current scope if I change `Inspector>Cell options>Evaluation options>CellContext` to "Notebook"?
Now I want to clear all variables from the scope.
I am getting current scope:
In:= $Context Out= Notebook$$34$511107`
After I am using this output by manually constructing this command and it works (clear all variables from the scope):
All above works well. Now I want to do that programatically. I tried this:
Clear[Evaluate["\"" <> $Context <> "*\""]]
Clear["\"" <> Evaluate[$Context] <> "*\""]
but without any success.
How to fix code above to make it work?