Timeline for Why is this expression being held, and how can I evaluate it?
Current License: CC BY-SA 3.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 24, 2013 at 8:29 | vote | accept | Andrew Cheong | ||
Oct 24, 2013 at 8:04 | vote | accept | Andrew Cheong | ||
Oct 24, 2013 at 8:04 | |||||
Oct 24, 2013 at 8:03 | comment | added | Andrew Cheong |
@belisarius - Thanks for the defense. However I can see where others are coming from, if they are voting to close because this question arose from a misunderstanding of Dynamic , which had been covered in other threads. If this question does get closed/deleted, please feel free to add your answer to mathematica.stackexchange.com/questions/34434/…. Meanwhile, I'll link to this thread from there.
|
|
Oct 24, 2013 at 7:41 | comment | added | Andrew Cheong |
Thanks, @SjoerdC.deVries. I'm only now getting used to that idea. I'd assumed (like an ass, yes) that Dynamic was something like bind or listeners in other languages, such that setting/getting from a variable (or all variables inside an expression) would trigger an event to update all other references. I think that was too naive an understanding, even if it's true to some degree as long as the result is displayed.
|
|
Oct 24, 2013 at 7:37 | comment | added | Andrew Cheong | @Mr.Wizard - Thanks for your patience with me! I followed those links, tried out JohnFultz's examples, was enlightened, and examined Introduction to Dynamic more closely. (I only scanned it previously, assuming I'd understood Dynamic.) I think one sentence in the article is kinda misleading: "In fact it is generally the case that when you first evaluate an input that contains variables wrapped in Dynamic, you will get the same result as you would have without Dynamic." But later in the article, a section called "Where Should Dynamic Be Placed in an Expression?" explains it much better. | |
Oct 24, 2013 at 7:34 | comment | added | Sjoerd C. de Vries | If you still have internal Dynamic functions that won't work. Remember, the result of a Dynamic is something visual, not something you can use to build calculations on. | |
Oct 24, 2013 at 7:16 | comment | added | Andrew Cheong |
@SjoerdC.deVries - Ah, I see, thanks. I recall wrapping the entire expression in a single Dynamic but it not working, and indeed I can't get it to work now either with just that change---I could be doing something else wrong as well.
|
|
Oct 23, 2013 at 15:10 | comment | added | Dr. belisarius | I think the need for managing two separate Graphic spaces for the mouse events hasn't been answered before. Please check for it before voting to close | |
Oct 23, 2013 at 15:08 | answer | added | Dr. belisarius | timeline score: 4 | |
Oct 23, 2013 at 13:12 | comment | added | Mr.Wizard | Please read this and then these: (9550), (2972) | |
Oct 23, 2013 at 11:51 | review | Close votes | |||
Oct 23, 2013 at 17:10 | |||||
Oct 23, 2013 at 11:22 | comment | added | Sjoerd C. de Vries | Dynamic is used to dynamically display the value of its content. The result has a Dynamic head and can't be used for further calculation. If you want to do that you must place Dynamic outside of the Plus, not inside. | |
Oct 23, 2013 at 11:09 | history | asked | Andrew Cheong | CC BY-SA 3.0 |