Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2007

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

Search the Archive

Re: Monitor bug or feature

  • To: mathgroup at smc.vnet.net
  • Subject: [mg84105] Re: Monitor bug or feature
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Mon, 10 Dec 2007 20:35:44 -0500 (EST)
  • Organization: Uni Leipzig
  • References: <fjj1nk$g5b$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de

Hi,

this has nothing to do with Dynamic[]
but with the attributes of Monitor[] because

Hold[Table[Pause[.1]; i, {i, 10}]] // Monitor[ReleaseHold[#], i] &

will work.

Regards
   Jens



Mark Fisher wrote:
> Hi all,
> 
> Monitor[Table[Pause[.1]; i, {i, 10}], i]
> 
> works as I expected, but
> 
> Table[Pause[.1]; i, {i, 10}] // Monitor[#, i] &
> 
> does not: It does not produce any "monitoring".
> 
> Are there other examples where
> 
> f[x, a]
> 
> and
> 
> f[#,a]&[x]
> 
> produce different "effects". (Clearly the Heads of the expressions are
> different.)
> 
> I'm guessing my surprise regarding this feature of Monitor reflects
> the fact that I really haven't made any attempt to understand Dynamic
> etc.
> 
> --Mark
> 


  • Prev by Date: Bug in Print
  • Next by Date: Re: How do I let them know about a bug ?
  • Previous by thread: Re: Monitor bug or feature
  • Next by thread: Re: Monitor bug or feature