MathGroup Archive 2007

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

Search the Archive

Re: ReplaceAll question


Hi,

because b is evaluated in b->c and gives 3 -> c
and there is no 3 in your expression.
Regards
   Jens

Yaroslav Bulatov wrote:
> b = 3;
> Hold[a[[b]]] /. {b -> c}
> 
> ReplaceAll has no effect, why? What is the recommended way of carrying
> out the replacement above?
> 
> 


  • Prev by Date: Re: ReplaceAll question
  • Next by Date: graph plotter
  • Previous by thread: Re: ReplaceAll question
  • Next by thread: Re: ReplaceAll question