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

MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Variable containing code

  • To: mathgroup at smc.vnet.net
  • Subject: [mg74937] Variable containing code
  • From: dh <dh at metrohm.ch>
  • Date: Thu, 12 Apr 2007 04:47:18 -0400 (EDT)


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




  • Prev by Date: Solving periodic functions
  • Next by Date: weibull analysis
  • Previous by thread: Re: Solving periodic functions
  • Next by thread: Re: Variable containing code