MathGroup Archive 2005

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

Search the Archive

Packages with Cyclic Dependencies


Hi all,

Using Mathematica 5.1.
I have two packages, let's call them A and B and they both need each
other, something like:
A.m:
BeginPackage["A`"]
Needs["B`"]

...

EndPackage[]

B.m:
BeginPackage["B`"]
Needs["A`"]

...

EndPackage[]

Can I have this kind of cyclic package dependency?
Now, my current package design is, I write the packages in a notebook
and mathematica seems to create the .m automagically. Should this be
this way? I never get to touch the .m?


Thanks, 

Catarina Dias


  • Prev by Date: Replacement equivalence?
  • Next by Date: Re: Cross results?
  • Previous by thread: Re: Re: Replacement equivalence?
  • Next by thread: Re: Packages with Cyclic Dependencies