Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

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