MathGroup Archive 2006

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

Search the Archive

Re: Clearing a symbol known only through a definition

  • To: mathgroup at smc.vnet.net
  • Subject: [mg66684] Re: [mg66658] Clearing a symbol known only through a definition
  • From: "Fred Simons" <f.h.simons at tue.nl>
  • Date: Sat, 27 May 2006 03:51:16 -0400 (EDT)
  • References: <200605260817.EAA01750@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Andrew,

Is this what you are looking for in your first question?

First execute

a=b;b=3;a

The result of course is 3.

Then execute

Hold[a] /. OwnValues[a][[1]] /. Hold -> Clear

Evaluating a now returns b.

Regards,

Fred Simons
Eindhoven University of Technology


  • Prev by Date: Re: Graphics--ProgressBar in GUIKit
  • Next by Date: RE: Output Table Format Change
  • Previous by thread: Re: Clearing a symbol known only through a definition
  • Next by thread: Re: Clearing a symbol known only through a definition