|
|
 |
| found 34790 articles for 5.921 sec |
  |
| Hi Fred,
The following modification will work:
CreateDocument[DynamicModule[{a = 0.5, f},
f[x_] := x;
Button["Start",
CreateDocument[{
DynamicModule[{},
Column[{Slider[Dynamic[f[a]]], Dynamic[f[a]]}],
InheritScope -> True],
DynamicModule[{b},
Button["Secondary screen",
b = a; CreateDocument[{
Slider[Dynamic[b]], Dynamic[b |
|
 |
|
 |
Group: muc.lists.freebsd.emulation · Group Profile · Search for Currentli in muc.lists.freebsd.emulation
Author: Daichi GOTO
Date: Jun 7, 2010 17:44
Hmm, interesting. I'm not exactly certain what you are observing, but for me the following DOES update the display of n from the Do statement. n = 0; Dynamic[n] Do[Pause[0.2], {n, 1, 5}] But then the display is not reset with: n = 0; I'm not certain why the Do statement updates the value because n is not being explicitly set by the Do. The following statement also updates the
|
| Show full article (1.58Kb) |
|
 |
|
1 ·
2 ·
3 ·
4 ·
5 ·
6 ·
7 ·
8 ·
9 ·
next |
|
|