Comments are KILLING me
- To: mathgroup at smc.vnet.net
- Subject: [mg37673] Comments are KILLING me
- From: may106 at psu.edu (Nafod40)
- Date: Fri, 8 Nov 2002 02:14:57 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
I can write a simple package with a single line of code written in StandardForm, so the 1/10 term is written 1 on top of 10... test := Module[(x = 1/10, (* now is the time *) y = 2}, x] Using StandardForm and 2D mathematical typesetting, it works fine in the notebook. Save it as a package and load it in, and I get a slew of error messages... \!\(InputForm\`Syntax::"sntxb" : "Expression cannot begin with etc.... This is KILLING me! If the Front End has a bug in it, then make comments illegal. If comments are OK, then fix the bug! I (am trying to) use text, mathematical typesetting, and comments to provide a best product to my customer. While text is great, there is certainly a time and a place for comments within the code. Does anyone have some sort of add-in such that the autopackage function converts all cells to input form first? Or reconverts to StandardForm? I don't need to carry any of the comments or formatting into the *.m file, and prefer that none of it did. Wolfram, do you guys have anything like this? Why hasn't this been fixed? Mike