MathGroup Archive 2001

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

Search the Archive

Syntax errors in autogenerated packages

Has anyone else encountered syntax errors when using Needs[...] to read into
Mathematica (v4.1, Windows) a package created automatically from a master
notebook using AutoGeneratedPackage?  I know the basic mechanism is working,
because the *.m file is saved to disk together with the master *.nb file and
looks OK.  Unfortunately, when I read the *.m file into a new notebook using
Needs[...] I get spurious error messages and the load is Aborted.  A typical
error message is

"a[" cannot be followed by "[1, 1, 2]]"

although this is normal Mathematica syntax and causes no trouble in the

When I  examine the *.m file, there's nothing obviously amiss.  I searched
the MathGroup Archive for AutoGeneratedPackage and Needs but couldn't find
anything relevant.

Thanks for any help.


  • Prev by Date: Re: Very simple limit, why doesn't it evaluate?
  • Next by Date: Solve[] for equations?
  • Previous by thread: NDSolve solution range problem
  • Next by thread: Re: Syntax errors in autogenerated packages