MathGroup Archive 2008

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

Search the Archive

Re: Request for Collective Wisdom...


My tip would be to never make global assignments to 1-letter variables. 
These can so easily get re-used in other expressions and cause havoc. If 
you have an expression and you wish to substitute x=7, use:

expression /.x->7

David Bailey
http://www.dbaileyconsultancy.co.uk


  • Prev by Date: Re: substitution within a substitution list
  • Next by Date: Re: Re: Question on the Limiting Value of Ratios of
  • Previous by thread: Re: Request for Collective Wisdom...
  • Next by thread: Re: Request for Collective Wisdom...