| Author |
Comment/Response |
PhysicsGuy
|
01/12/13 8:18pm
In Response To 'Re: Re: Checking dynamically updated variable' --------- InputField[Dynamic[x]] // Print;
f = Compile[{{x}}, x^2];
If[NumberQ[x],
f[x] // Print] // Dynamic
What is wrong with this code? Isn't it supposed to return square of the x when a number is given and nothing otherwise?
URL: , |
|