Timeline for User Input Through Dynamic
Current License: CC BY-SA 3.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 27, 2015 at 19:00 | answer | added | Michael E2 | timeline score: 1 | |
| Jan 27, 2015 at 14:43 | history | edited | Noah Rubin | CC BY-SA 3.0 | deleted 1 character in body |
| Jan 27, 2015 at 14:43 | comment | added | Noah Rubin | There was one misplaced ] that creeped in there, I fixed it now and it should work. Thanks for your replies. If I need to do Dynamic@Max[val1,val2], how do I get that to evaluate when val1 and val2 need to be dynamic variables themselves, as in this example? It seems I can't actually do anything with the matrix of dynamic variables, even a multiplication of the matrix by 5, say, doesn't evaluate. | |
| Jan 27, 2015 at 14:36 | history | edited | Noah Rubin | CC BY-SA 3.0 | edited body |
| Jan 27, 2015 at 12:31 | review | Close votes | |||
| Jan 27, 2015 at 14:46 | |||||
| Jan 27, 2015 at 6:46 | comment | added | C. E.♦ | @NoahRubin The example doesn't work for me, but the problem is what Mike said. You cannot evaluate Max[Dynamic[val1],Dynamic[val2]], it has to be Dynamic@Max[val1,val2]. The issue is similar to lite item six here. Once you wrap your number with Dynamic it doesn't go away. And it is not possible to determine if Dynamic something is larger than Dynamic something else, these are not numeric values. There is more about this in the documentation, if I recall correctly there is a paragraph specifically about where to place Dynamic. | |
| Jan 27, 2015 at 6:24 | comment | added | Noah Rubin | Thanks, guys. I just updated it with an example of the issue. | |
| Jan 27, 2015 at 6:24 | history | edited | Noah Rubin | CC BY-SA 3.0 | added 814 characters in body |
| Jan 27, 2015 at 6:21 | comment | added | Mike Honeychurch | In all likelihood you have Dynamic positioned in the wrong place but we need to see your code. | |
| Jan 27, 2015 at 5:25 | history | asked | Noah Rubin | CC BY-SA 3.0 |