Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #8799 > unrolled thread
| Started by | dominik.hezel@googlemail.com |
|---|---|
| First post | 2012-02-29 12:32 +0000 |
| Last post | 2012-03-01 10:42 +0000 |
| Articles | 4 — 4 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
Dynamic question dominik.hezel@googlemail.com - 2012-02-29 12:32 +0000
Re: Dynamic question Szabolcs <szhorvat@gmail.com> - 2012-03-01 10:34 +0000
Re: Dynamic question Dominik Hezel <dominik.hezel@gmail.com> - 2012-03-01 10:40 +0000
Re: Dynamic question Michael Musheghian <michael.musheghian@gmail.com> - 2012-03-01 10:42 +0000
| From | dominik.hezel@googlemail.com |
|---|---|
| Date | 2012-02-29 12:32 +0000 |
| Subject | Dynamic question |
| Message-ID | <jil5s4$rtn$1@smc.vnet.net> |
Hello, I'm stuck in program, because (simplified to the guts) x = 8; If[Dynamic[x] >= 5, "a", "b"] doesn't work. Can anyone tell me why - or even better, offer me a solution how to do this? thanks a lot!
[toc] | [next] | [standalone]
| From | Szabolcs <szhorvat@gmail.com> |
|---|---|
| Date | 2012-03-01 10:34 +0000 |
| Message-ID | <jinjau$ctf$1@smc.vnet.net> |
| In reply to | #8799 |
On Wednesday, 29 February 2012 14:32:04 UTC+2, Dominik Hezel wrote: > Hello, > > I'm stuck in program, because (simplified to the guts) > > x = 8; > If[Dynamic[x] >= 5, "a", "b"] > > doesn't work. Can anyone tell me why - or even better, offer me a solution how to do this? > I have discussed this here: http://stackoverflow.com/a/9257152/695132 (Please see from the 3rd paragraphs, but it's instructive to read everything, including the question).
[toc] | [prev] | [next] | [standalone]
| From | Dominik Hezel <dominik.hezel@gmail.com> |
|---|---|
| Date | 2012-03-01 10:40 +0000 |
| Message-ID | <jinjmi$d3f$1@smc.vnet.net> |
| In reply to | #8799 |
Am Mittwoch, 29. Februar 2012 13:32:04 UTC+1 schrieb Dominik Hezel: > Hello, > > I'm stuck in program, because (simplified to the guts) > > x = 8; > If[Dynamic[x] >= 5, "a", "b"] > > doesn't work. Can anyone tell me why - or even better, offer me a solution how to do this? > > thanks a lot! OK - I just found the solution! x = 8; Dynamic[If[x >= 5, "a", "b"]] Thanks anyway, Dominik
[toc] | [prev] | [next] | [standalone]
| From | Michael Musheghian <michael.musheghian@gmail.com> |
|---|---|
| Date | 2012-03-01 10:42 +0000 |
| Message-ID | <jinjqd$d4n$1@smc.vnet.net> |
| In reply to | #8799 |
On Wednesday, February 29, 2012 4:32:04 PM UTC+4, Dominik Hezel wrote: > Hello, > > I'm stuck in program, because (simplified to the guts) > > x = 8; > If[Dynamic[x] >= 5, "a", "b"] > > doesn't work. Can anyone tell me why - or even better, offer me a solution how to do this? > > thanks a lot! Dynamic[If[x >= 5, "a", "b"]]
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web