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}])]
- Follow-Ups:
- Re: Manipulate inside module
- From: "Scot T. Martin" <smartin@seas.harvard.edu>
- Re: Manipulate inside module