MathGroup Archive 2007

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

Search the Archive

ReplaceAll behavour

  • To: mathgroup at smc.vnet.net
  • Subject: [mg82111] ReplaceAll behavour
  • From: magma <maderri2 at gmail.com>
  • Date: Fri, 12 Oct 2007 02:59:10 -0400 (EDT)

I do not understand what Mathematica 6 is doing here:

a=5
a/.a->3

gives 3

But...

a+2/. a->3

gives 7

Why is that?

Thank you for your help



  • Prev by Date: Unwanted resize of frontend window
  • Next by Date: import function
  • Previous by thread: Re: Unwanted resize of frontend window
  • Next by thread: Re: ReplaceAll behavour