MathGroup Archive 2003

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

Search the Archive

Re: problem while loading packages

  • To: mathgroup at smc.vnet.net
  • Subject: [mg42649] Re: problem while loading packages
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Sat, 19 Jul 2003 03:19:33 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <bf8fuo$5qr$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

you package create not the context that Mathematica expect.
You have a file

PackageName.m

but in the file the context

BeginPackage["PackageName`"]

is not created.

Regards
  Jens




Miguel Cruz wrote:
> 
> Good day All,
> 
> I am trying to load a package that I saved but it normally does not work. From
> Needs[["PackageName`"]
> I get:
> Needs::nocont : Context PackageName` was not created when Needs was evaluated.
> 
> If I open the notebook and run it before saving it as a Package, the
> package will be listed when I write $Packages.
> I wonder what I am missing here??
> Cheers,
> Miguel
> 
> **************************************************
> Please note new email address!
> **************************************************
> Miguel Cruz
> 460 "The Bullpen" Science Complex
> College of Forestry and Conservation
> University of Montana
> Missoula, MT 59812
> 
> Phone: (406) 329 4748 (@ FiSL)
> Fax:   (406) 329 4825 (@ FiSL)
> **************************************************


  • Prev by Date: Re: Applying multiple functions to multiple sets of arguements
  • Next by Date: Re: Applying multiple functions to multiple sets of arguements
  • Previous by thread: problem while loading packages
  • Next by thread: AW: displaying a graphic without input