MathGroup Archive 2006

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

Search the Archive

Re: package in separate files


Look up BeginPackage in the HelpBrower and note what it says about
an optional 2nd argument.

OT wrote:
> Hi all.
> 
> I already have succesfully built a package which I load with the command
> <<myPackage`myPackage`
> 
> I would like the package to call a separate .m file which contains very 
> simple definitions of parameters.
> How can I do that? I already tryed to put a like like
>  Get[ $UserBaseDirectory<>"\\myPackage\\LocalConfiguration.m" ]
> into the file myPackage.m, but it simply doesn't work: I got no error 
> messages, but the definitions contained into LocalConfiguration.m are 
> not evaluated.
> 
> How can I do that?
> 
> thanks in advance for every reply
> 
> andre
> 
> 

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305


  • Prev by Date: Re: adding assumptions to Integrate
  • Next by Date: an equation containg radicals
  • Previous by thread: package in separate files
  • Next by thread: webMathematica, Packages, and hostSRV.com