Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Packages with Cyclic Dependencies

  • To: mathgroup at smc.vnet.net
  • Subject: [mg63219] Packages with Cyclic Dependencies
  • From: "katy" <mcld at mega.ist.utl.pt>
  • Date: Mon, 19 Dec 2005 07:01:17 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

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