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: [mg87717] Re: mx files
  • From: Hannes Kessler <HannesKessler at hushmail.com>
  • Date: Wed, 16 Apr 2008 05:01:52 -0400 (EDT)
  • References: <ftvd65$d9v$1@smc.vnet.net> <fu218h$r5m$1@smc.vnet.net>

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: Package to 'graft' Lists onto Matrices
  • Next by Date: Coordinates of vertices
  • Previous by thread: Re: mx files
  • Next by thread: Re: mx files