MathGroup Archive 2005

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

Search the Archive

init.m problem, WinXP with 5.0.1.0


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


  • Prev by Date: Re: global option?
  • Next by Date: Re: Matrix Problem
  • Previous by thread: Re: does a matrix equivalent of the Arg function exist?
  • Next by thread: Re: init.m problem, WinXP with 5.0.1.0