MathGroup Archive 2011

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

Search the Archive

Manipulate inside module

  • To: mathgroup at smc.vnet.net
  • Subject: [mg121328] Manipulate inside module
  • From: Charles Wells <Charles at abstractmath.org>
  • Date: Sat, 10 Sep 2011 07:30:40 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

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