MathGroup Archive 2003

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

Search the Archive

Package creation

  • To: mathgroup at smc.vnet.net
  • Subject: [mg39192] Package creation
  • From: Jan Schmedes <schmedes at rz.uni-potsdam.de>
  • Date: Mon, 3 Feb 2003 01:08:49 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hello,

i have a problem by creating a package. I need routines from another
package, such that i use the following
lines at beginning of the package file

BeginPackage["Seismo`Hazard`PSHA`"]
Needs["Statistics`ContinuousDistributions`"]

If i load the package with

<< Seismo`Hazard`PSHA`

in a notebook everything works, but if i load it a second time (e.g. after
changing something in the code) and calling one of the modules
there are error messages produced like the following:

Random::"randt": Type specification
Seismo`Hazard`PSHA`Private`NormalDistribution[<<19>>
, 0.16] in Random[<< 1 >>]
should be Real, Integer, or Complex.

The same message is produced by loading the package the first time and
using

BeginPackage["Seismo`Hazard`PSHA`",{"Statistics`ContinuousDistributions`"}]


Does anybody has a hint what i make wrong??

Thanks and best regards

Jan Schmedes




  • Prev by Date: RE: RealOnly
  • Next by Date: RE: Random Trouble
  • Previous by thread: Re: Re: Fit or Interpolate
  • Next by thread: Re: Package creation