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
- References:
- Clearing a symbol known only through a definition
- From: Andrew Moylan <andrew.moylan@anu.edu.au>
- Clearing a symbol known only through a definition