Properties
Category
Croatian
Similar Topics
Statistics
Comments
1
Participants
2
Subscribers
2
Votes
1
Views
482
Share
Not a Problem
Hello,
my friend has a problem with a script in the button. He put a script like this:
If(a<5, u=u+1,u=0)
t=t+1
For first several clicks on the button it works, after that, it doesn't work... Can someone help with advice?
GeoGebra file is in the attachment.
Files:
aaa.ggb
- GeoGebra
- Help
- Partners
-
Contact us
- Feedback & Questions
- This email address is being protected from spambots. You need JavaScript enabled to view it.
- +43 677 6137 2693
© 2023 International GeoGebra Institute
It's advised not to formulate it like that but to use following syntax:
SetValue(t, t+1)SetValue(u,If(a<5,u+1,0))
With this script there's no problem
Comments have been locked on this page!