MathGroup Archive 2010

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

Search the Archive

Re: different results for Standard vs Prefix forms


Block[{n = 2}, # &@Plot[n x, {x, 1, 2}]]
Fixed that for you! (misplaced brackets)

On Fri, Jul 30, 2010 at 3:55 AM, Yaroslav Bulatov <yaroslavvb at gmail.com> wrote:
> First one works, but second one doesn't, why?
> Block[{n = 2}, Plot[n x, {x, 1, 2}]]
> Block[{n = 2}, #] &@Plot[n x, {x, 1, 2}]
>
>


  • Prev by Date: Re: NDSolve - how to bypass safety chceck?
  • Next by Date: assuming certain properties about variables
  • Previous by thread: different results for Standard vs Prefix forms
  • Next by thread: Re: different results for Standard vs Prefix forms