Releasing several Holds simultaneously
- To: mathgroup at smc.vnet.net
- Subject: [mg82248] Releasing several Holds simultaneously
- From: "Andrew Moylan" <andrew.j.moylan at gmail.com>
- Date: Tue, 16 Oct 2007 03:27:09 -0400 (EDT)
Hold[a := Hold] How can I release both of these Holds (and thus execute a:=1) simultaneously? ReleaseHold[%] doesn't work; it evaluates a := Hold before the other hold is removed. % /. Hold[x_]:>x does the same thing, because /. only matches once per part.