MathGroup Archive 2011

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

Search the Archive

Manipulate inside module

  • To: mathgroup at
  • Subject: [mg121328] Manipulate inside module
  • From: Charles Wells <Charles at>
  • Date: Sat, 10 Sep 2011 07:30:40 -0400 (EDT)
  • Delivered-to:

I expected the following expression to show the square of the current value of the slider, but it shows only a^2.  There is clearly something I don't understand about Module.  Any insights?

Module[{b = a}, (Print[b]; Manipulate[b^2, {{a, 1}, 0, 5}])]

  • Prev by Date: Re: DiscretePlot filling is darker above axis than below
  • Next by Date: passing Indeterminate and Infinity to C via MathLink
  • Previous by thread: why MakeExpression acts differently
  • Next by thread: Re: Manipulate inside module