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