Skip to main content
changed the title to reflect more precisely on the problem
Link
Patrick.B
  • 1.6k
  • 7
  • 13

Difference between $Context and Evaluate[Context[]] using DumpSave

Tweeted twitter.com/StackMma/status/1092392327400824832
Source Link
Patrick.B
  • 1.6k
  • 7
  • 13

Difference between $Context and Evaluate[Context[]]

If I were to type both individually with // FullForm, It would seem that both are the same: However, in the context for example of a dumpsave:

DumpSave["~/Documents/test.mx", $Context] DumpSave["~/Documents/test2.mx", Evaluate[Context[]]] 

it would seem that the latter works as expected while the former does not. Why is that?