MathGroup Archive 2002

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

Search the Archive

Strange ReplaceAll behavior

  • To: mathgroup at smc.vnet.net
  • Subject: [mg36774] Strange ReplaceAll behavior
  • From: "Lawrence A. Walker Jr." <lwalker701 at earthlink.net>
  • Date: Wed, 25 Sep 2002 01:50:50 -0400 (EDT)
  • Organization: Morgan State University, COMSARE
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

For the life of me I am not sure why the following is not working in my 
v. 4.2:

ru[a]=a->x;
f[x_]:=(a+b) /. ru[a];

Why do I get
f[c] = b+x

and not
f[c] = b+c?

What gives?

Thanks,
Lawrence

-- 
Lawrence A. Walker Jr.
http://www.kingshonor.com


  • Prev by Date: Re: Questions on Plot
  • Next by Date: Printing Scripts
  • Previous by thread: RE: pdf export
  • Next by thread: RE: Strange ReplaceAll behavior