MathGroup Archive 2010

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

Search the Archive

Re: different results for Standard vs Prefix forms

  • To: mathgroup at smc.vnet.net
  • Subject: [mg111476] Re: different results for Standard vs Prefix forms
  • From: Themis Matsoukas <tmatsoukas at me.com>
  • Date: Tue, 3 Aug 2010 06:34:08 -0400 (EDT)

> I don't think the O.P. had in mind asking for a fix.
> I think he was, in 
> essence, trying to create a pure function with
> Block...
> 
>    f = Block[{n = 2}, #]&
> 
> ... and then trying to evaluate that with argument
> Plot[n x, {x,1,2}].
>... 

Then, the answer is 

Block[{n = 2}, # &[Plot[n x, {x, 1, 2}]]]

Themis


  • Prev by Date: Re: Disable save in player pro
  • Next by Date: Re: Bare Bones Backup Button
  • Previous by thread: Re: different results for Standard vs Prefix forms
  • Next by thread: A distribution problem using Mathematica