Re: Defining variables in $UserBaseDirectory/init.m
- To: mathgroup at smc.vnet.net
- Subject: [mg62168] Re: Defining variables in $UserBaseDirectory/init.m
- From: Bill Rowe <readnewsciv at earthlink.net>
- Date: Sun, 13 Nov 2005 02:08:49 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
On 11/12/05 at 3:33 AM, hattons at globalsymmetry.com (Steven T. Hatton) wrote: >Can I define my own variables in the startup init.m file? Yes. For example in my init.m file I have a the line $Landscape = 760; in my init.m file that I use to set the size of plots I intend to have printed in landscape mode. >I tried by simply putting a variable assignment at the end of the >file, and the result was that Mathematica erraced the entire contents >of the file. "erraced" = "erased"? Simply adding variables to your init.m file should not cause Mathematica to delete the contents of any file. -- To reply via email subtract one hundred and four