| Original Message (ID '231523') By Michael: |
| In Response To 'Re: Checking dynamically updated variable'
---------
Could you clarify with an example?
In my view, variables are not dynamic per se, only output expressions are dynamic. Such expressions can update (change) a variable, such as an InputField, SetterBar, etc. Or they can change their output when a tracked variable changes its value.
You can probably do what you want with compiled functions. For example:
f = Compile[{{x}}, x^2,];
Dynamic[f[x]]
Slider[Dynamic[x], {0, 4}] |
|