Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1999
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1999

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

Search the Archive

Syntax error in notebook saved as package

  • To: mathgroup at smc.vnet.net
  • Subject: [mg16068] Syntax error in notebook saved as package
  • From: "David Keith" <dkeith at sarif.com>
  • Date: Tue, 23 Feb 1999 03:45:22 -0500
  • Organization: Sarif
  • Sender: owner-wri-mathgroup at wolfram.com

I have a notebook I wish to save in package format. After using the "save
as special - package" method I do indeed get a text file with all but
appropriate initialization cells commented out. But --- although the
notebook works fine, when loading the package I get a syntax error. Viewing
the text shows it to be a single cell with all of the command lines. Using
"corrupt.m" to read the file also identifies the syntax error and assigns
it to a large function definition module, which is too large to easily find
the problem. Since some of the lines are long they have been wrapped, and I
can't tell if appropriate line continuation characters exist or are used.

Can anyone offer advice on this?

Thanks.



  • Prev by Date: Re: HELP: Plotting composite functions
  • Next by Date: Evaluate/Module
  • Previous by thread: Re: HELP: Plotting composite functions
  • Next by thread: RE: Syntax error in notebook saved as package