Button Error online but not on Classic 5

goldenj shared this question 2 months ago
Answered

I posted this activity https://www.geogebra.org/m/kcaqvns2 and when you push the Transfuse button (button1), it returns error in line 3, which is the start animation command.

SetValue(show,true)

SetValue(pour,0)

StartAnimation(pour,true)


Which works on my desktop, and I can't figure out the error! I re-uploaded it, same error.

file attached.

Thanks for any ideas!

Comments (6)

photo
2

The variable 'pour' does not appear to be attached to a slider, as far as I can tell - or does not have a Min and a Max as far as I can tell. If you assign a Min and Max to the variable 'pour', the StartAnimation( ) command does not fail.

photo
1

pour is defined as a slider from 0 to add in my file. Is there a reason it wouldn't show up that way in the upload?

So I tried making a new slider, deleted the old, and the same error occurs.

Thanks for the idea, though!

Updated file attached.

photo
1

pour needs an increment

photo
1

You are using a really old version (5.0.524.0), please update

photo
1

You def the slider pour with a range 0 .. 0 (=add)

seems 6.x does not let this pass as slider


give add minimal value add=0.001 and set visible in algebra view (perhaps this will do even)

photo
1

Thanks, all! Fixed now.

I tried adding in a specific increment. Still didn't work.

When I changed the animating slider to 0 to Max(<variable>,.001) it fixed the issue.

And I have updated now! Gracias, Michael.

© 2021 International GeoGebra Institute