MathGroup Archive 1999

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

Search the Archive

$PreRead

  • To: mathgroup at smc.vnet.net
  • Subject: [mg20630] $PreRead
  • From: "N Monomachoff" <nmonomachoff at email.msn.com>
  • Date: Thu, 4 Nov 1999 02:13:39 -0500
  • Sender: owner-wri-mathgroup at wolfram.com

Section 2.13.1 of the Mathematica Book, v3 gives:

In[1]:=$PreRead = StringReplace[#, {"<<" -> "{", ">>" -> "}"}]&

And now, supposedly

In[2]:=<<4,5,6>>
Out[2]:={4,5,6}

But when I try this, I get an "Incomplete expression" error.
I even get that error when I try to remove the value with

$PreRead=.

This would be quite a useful function if I could get it to work.
Does anyone have suggestions? I'm using 3.0.1.1 on win98.

N Monomachoff
nmonomachoff at msn.com




  • Prev by Date: Re: M.U.C.
  • Next by Date: Re: M.U.C.
  • Previous by thread: Re: M.U.C.
  • Next by thread: Re: $PreRead