MathGroup Archive 2010

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

Search the Archive

Automatic update of variables

  • To: mathgroup at smc.vnet.net
  • Subject: [mg110291] Automatic update of variables
  • From: Antonio De Juárez <adejuarez at gmail.com>
  • Date: Sat, 12 Jun 2010 05:31:11 -0400 (EDT)

Sometimes, I would find useful a method to update variables
automatically. For example, given the delayed rule

b:=3 a+1;

it would be useful to have b updated whenever a is assigned a new
value, like a=37. Is there any method to do this in Mathematica?

Thanks,

   Antonio.



  • Prev by Date: Number to string headed by zeros
  • Next by Date: Apply a function to parts of a list
  • Previous by thread: Re: Number to string headed by zeros
  • Next by thread: Re: Automatic update of variables