Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: package in separate files

  • To: mathgroup at
  • Subject: [mg69647] Re: [mg69619] package in separate files
  • From: Murray Eisenberg <murray at>
  • Date: Tue, 19 Sep 2006 05:45:03 -0400 (EDT)
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • References: <>
  • Reply-to: murray at

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
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