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

MathGroup Archive 2006

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

Search the Archive

Re: really simple question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg71053] Re: really simple question
  • From: "dimitris" <dimmechan at yahoo.com>
  • Date: Wed, 8 Nov 2006 06:10:48 -0500 (EST)
  • References: <eimqm1$c0m$1@smc.vnet.net>

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: Possible simple bug in NMaximize
  • Next by Date: Merge of Matrices
  • Previous by thread: Re: really simple question
  • Next by thread: Re: really simple question