MathGroup Archive 2007

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

Search the Archive

Re: Monitor bug or feature


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