MathGroup Archive 2010

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

Search the Archive

Re: How to Enable Automatic Recalculation

  • To: mathgroup at smc.vnet.net
  • Subject: [mg109849] Re: How to Enable Automatic Recalculation
  • From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
  • Date: Wed, 19 May 2010 20:15:02 -0400 (EDT)
  • References: <ht0gf2$8q$1@smc.vnet.net>

Hi Vic,

Easy. Use SetDelayed i.e., := instead of Set (=). Set calculates the
value of b at definition time whereas SetDelayed causes the value if b
to be calculated when b is actually used. This is actually very basic
stuff that is easily found in the manual.

Cheers -- Sjoerd


  • Prev by Date: Re: combining ArrayPlot with ListLinePlot
  • Next by Date: Basic histogram
  • Previous by thread: How to Enable Automatic Recalculation
  • Next by thread: Re: How to Enable Automatic Recalculation