Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #4853
| From | Charles Wells <Charles@ABSTRACTMATH.ORG> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Manipulate inside module |
| Date | 2011-09-10 11:34 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j4fi0l$2h2$1@smc.vnet.net> (permalink) |
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}])]
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Manipulate inside module Charles Wells <Charles@ABSTRACTMATH.ORG> - 2011-09-10 11:34 +0000
csiph-web