Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*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 2004

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

Search the Archive

Re: Unevaluated

  • To: mathgroup at smc.vnet.net
  • Subject: [mg50670] Re: Unevaluated
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Wed, 15 Sep 2004 07:54:57 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <ci8n2a$bug$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

how many Evaluations may Unevaluated[] survive ??

2*Unevaluated[1+2]
 does not change after a first evaluation and so
the evaluation loop is terminated.

1*Unevaluated[1+2] 

changes to

Unevaluated[1+2] in the first evaluation cycle and so it
is evaluated again and now the Unevaluated[] function does
not work any more.

May be you mean Hold[] instead of Unevaluated[]

Regards
  Jens


Mike wrote:
> 
> Not sure if this is a bug or just my lack of understanding of what of going
> on here:
> 
> In[1]= 2*Unevaluated[1+2]
> 
> Out[1]= 2 Unevaluated[1+2]
> 
> But
> 
> In[2]= 1*Unevaluated[1+2]
> 
> Out[2]= 3
> 
> This is with V5.0.1 on Mac OS X 10.3.5
> 
> Cheers
> 
> Mike


  • Prev by Date: Re: Problems using variables in an IF command
  • Next by Date: GuiKit & GraphEdit
  • Previous by thread: Re: Unevaluated
  • Next by thread: Help about "coin-run" problem......