init.m problem, WinXP with 5.0.1.0
- To: mathgroup at smc.vnet.net
- Subject: [mg53592] init.m problem, WinXP with 5.0.1.0
- From: Curt Fischer <tentrillion at gmail.NOSPAM.com>
- Date: Wed, 19 Jan 2005 02:00:06 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
I run Mathematica for Students on 5.0.1.0 on Windows XP Professional,
and haven't had any problems until recently when I began to change my
init.m file.
Now on first loading the kernel, the message window displays errors such as
---Error message below:---
Syntax::sntxq: The string starting at "Begin[\"System`Private`\"]"
^
has no closing quote. (line 18 of "C:\Program
Files\Wol<<40>>ion\Kernel\i
nit.m")
---End error message---
For reference, below is my init.m file. I do not see any extraneous or
missing quotation marks, so I cannot figure out what the problem is.
---Begin init.m file---
(** User Mathematica initialization file **)
(** Decide how to display graphics on this machine **)
Begin[\"System`Private`\"]
(* Hide any symbols which are created *)
Which[
$Linked || $ParentLink =!= Null, <<\"PSDirect.m\",
Environment[\"DISPLAY\"] =!= $Failed, <<\"Motif.m\",
True, <<\"Terminal.m\"
]
End[];
---End init.m file---
Does anyone see anything wrong with my init.m file?
--
Curt Fischer