Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Re: mx files

  • To: mathgroup at smc.vnet.net
  • Subject: [mg87765] Re: mx files
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Wed, 16 Apr 2008 07:19:35 -0400 (EDT)
  • Organization: Uni Leipzig
  • References: <ftvd65$d9v$1@smc.vnet.net> <fu218h$r5m$1@smc.vnet.net> <fu4ffa$ndn$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de

Hi,

DumpSave[ "SomePackage.mx", {"SomePackage`","OtherPackage`"}]

??

Regards
   Jens

Hannes Kessler wrote:
> What about the following example?
> 
> BeginPackage["SomePackage`", {"OtherPackage`"}]
> ...
> EndPackage[]
> DumpSave[ "SomePackage.mx", "SomePackage`"]
> 
> Quit[]
> Needs["SomePackage`"]
> 
> The context "OtherPackage`" is not in $ContextPath as it should be.
> 
> Regards,
> Hannes Kessler
> 
> 
> On 15 Apr., 12:49, Jens-Peer Kuska <ku... at informatik.uni-leipzig.de>
> wrote:
>> Hi,
>>
>> DumpSave[] will do it.
>>
>> Regards
>>    Jens
>>
>> Hannes Kessler wrote:
>>> Hello,
>>> what is the preferred method to create packages in .mx files analogous
>>> to the initialization cell method in notebooks to maintain packages in
>>> the .m format?
>>> Best regards,
>>> Hannes Kessler
> 
> 


  • Prev by Date: Re: Coordinates of vertices
  • Next by Date: Re: Help with minimization of Eigenvalues
  • Previous by thread: Re: mx files
  • Next by thread: Re: mx files