MathGroup Archive 2006

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

Search the Archive

Re: really simple question


I don't know if there is an option which you can set to get what you
want!
But here is another way you can follow...

E.g. for your evaluation a=3

In[1]:=
Clear["Global`*"]

In[2]:=
HoldForm[a=3]
ReleaseHold[%]

Out[2]=
a=3

Out[3]=
3

In this way you have your desired output and also Mathematica has
assigned the value 3 for the variable a. Indeed

In[4]:=
Information[a]

>From In[4]:=
"Global`a"

>From In[4]:=
a = 3


  • Prev by Date: Re: find roots
  • Next by Date: Re: building a list containing elements f(i,j)
  • Previous by thread: really simple question
  • Next by thread: Re: really simple question