Re: Troubles saving as *.m
- To: mathgroup at smc.vnet.net
- Subject: [mg27520] Re: Troubles saving as *.m
- From: "Allan Hayes" <hay at haystack.demon.co.uk>
- Date: Sat, 3 Mar 2001 03:40:01 -0500 (EST)
- References: <97l49j$jii@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Werner, I have not been able to reproduce whatr you are getting but here are some suggestions: 1)The only cells of which the contents will not be put between (* and *) are input cells that are Initialization cells (Cell >Cell Properties >) 2) Please make sure that these cells are in InputForm or StandardForm (Cell > Convert To>) -- Allan --------------------- Allan Hayes Mathematica Training and Consulting Leicester UK www.haystack.demon.co.uk hay at haystack.demon.co.uk Voice: +44 (0)116 271 4198 Fax: +44 (0)870 164 0565 "Turbo Cyx" <cyx at gmx.at (no spam)> wrote in message news:97l49j$jii at smc.vnet.net... > Hi > I am using Mathmatica 4.0 . In a notebook I wrote some functions and now I > want to save them as package. > After using "Save as special" the resulting m-File is nearly unreadable: > short example > > (* > \!\(BeginPackage["\<Haeuf`\>"]\n > BD::"\<usage\>" = "\<BD[{1,\[Pi]}] wandelt eine komplexe Zahl von \ > Polarkoordinaten- in Binomialdarstellung.\>"; > PKD::"\<usage\>" = "\<PKD[3+4\[ImaginaryI]] wandelt eine komplexe Zahl von > \ > Binomial- in Polarkoordinatendarstellung.\>"; > ED::"\<usage\>" = "\<ED[3+4\[ImaginaryI]] wandelt eine komplexe Zahl von \ > Binomial- in Exponentialdarstellung.\>"; > ShowComplex::"\<usage\>" = "\<ShowComplex[3+4\[ImaginaryI]] stellt eine \ > komplexe Zahl in der komplexen Zahlenebene dar.\n Optionen: > VektorColor->Red \ > setzt die Farbe der gezeichneten Vektoren\n, Gitter->True zeichnet das \ > Koordinatengitter.\>"; VektorColor::"\<usage\>" = "\<\>"; > Gitter::"\<usage\>" = "\<\>"; > > Best of all: the whole text appears als comment, means between (* *) > Whats wrong? > What can I do, to get readeable m-files > Thx > Werner > > >