MathGroup Archive 2008

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

Search the Archive

Re: Request for Collective Wisdom...

  • To: mathgroup at smc.vnet.net
  • Subject: [mg88588] Re: Request for Collective Wisdom...
  • From: David Bailey <dave at Remove_Thisdbailey.co.uk>
  • Date: Fri, 9 May 2008 03:24:39 -0400 (EDT)
  • References: <fvpcoc$met$1@smc.vnet.net>

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...