MathGroup Archive 2001

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

Search the Archive

Syntax errors in autogenerated packages

  • To: mathgroup at smc.vnet.net
  • Subject: [mg31929] Syntax errors in autogenerated packages
  • From: "Alan Mason" <swt at austin.rr.com>
  • Date: Wed, 12 Dec 2001 04:14:16 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hello,
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
notebook.

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.

Alan



  • 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