MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Open DumpSave in new context?


Hi,

the *.mx file store the symbols with the context and so: you can't do that.

Regards
   Jens

karl.daggfeldt at gih.se wrote:
> Is there a way to specify a new context for a DumpSave:d file when I open it?
> The simple approach below is working when the file is saved with Save but not with DumpSave.
> 
> (*DumpSave a to file*)
> a=1;
> DumpSave["temp.mx",a];
> Remove[a];
> 
> (*not generating myContext`a but rather Global`a*)
> Begin["myContext`"];
> Get["temp.mx"];
> End[];
> 
> Greatefull for answers!
> Kalle
> 


  • Prev by Date: Launch notebook in FE and evaluate it immediately
  • Next by Date: Re: Redirecting input
  • Previous by thread: Open DumpSave in new context?
  • Next by thread: Lagrangian/KKT conditions.