RE: Variable containing code
- To: mathgroup at smc.vnet.net
- Subject: [mg75001] RE: [mg74937] Variable containing code
- From: "Ingolf Dahl" <ingolf.dahl at telia.com>
- Date: Fri, 13 Apr 2007 02:17:49 -0400 (EDT)
- References: <200704120847.EAA24473@smc.vnet.net>
- Reply-to: <ingolf.dahl at telia.com>
Maybe you could try with t2 := t1; or am I missing something? Best regards Ingolf Dahl Sweden -----Original Message----- From: dh [mailto:dh at metrohm.ch] Sent: 12 April 2007 10:47 To: mathgroup at smc.vnet.net Subject: [mg75001] [mg74937] Variable containing code Hello, how can one get at the value of a variable if this value is executable code? E.g. consider variable t1:= Print["Hello"]. How can I set the value of a second variable t2 to the value of t1 without executing the code? Daniel
- References:
- Variable containing code
- From: dh <dh@metrohm.ch>
- Variable containing code