Re: function mySet[]
- To: mathgroup at smc.vnet.net
- Subject: [mg36117] Re: function mySet[]
- From: Oliver Ruebenkoenig <ruebenko at donne.imtek.uni-freiburg.de>
- Date: Thu, 22 Aug 2002 04:32:54 -0400 (EDT)
- Organization: Rechenzentrum der Universitaet Freiburg, Germany
- References: <ajvok2$ia2$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
On Wed, 21 Aug 2002, Prof. Korvink wrote: > I am struggling with a problem: never mind ;-) as you tought us... mySet[s_String, val_] := Block[{localVar}, f = "Hold[Set[" <> s <> ",localVar]]"; ReleaseHold[ToExpression[f] /. localVar -> val] ]; try this, but jan, you should enjoy your holidays!!! Sadik and Oliver Oliver Ruebenkoenig, <ruebenko at imtek.de> Phone: ++49 +761 203 7293