Properties
Category
French
Similar Topics
Statistics
Comments
5
Participants
3
Subscribers
3
Votes
1
Views
480
Share
Answered
bonjour à tous,
je souhaite faire un fichier de construction et pouvoir effacer les objet ajouté.
j'ai fait un bouton "poubelle" dans lequel le script est :
Execute[Zip["Delete[" + M + "]", M, liste]]
jusqu'à présent ce script fonctionnait.
Aujourd'hui il fonctionne en local mais pas en ligne ?
ill19_cercle_circonscrit – GeoGebra
est-ce un problème de script ?
merci,
bruno
Files:
ill19_cercle_ci...
- 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
Es erscheint mir sicherer einfach mit
Execute({“delete(“+sequence(liste(j),j,1,length(liste))+“)“})
liste abzuarbeiten? warum zip bemühen.
If you try
then you can see there are a lot of repeated commands. I think you need to be careful about what gets added to that list.
I guess "mode" is getting added to it and then you are deleting it
Hi haweThanks for your answer:
i think put the Delete in the sequence is better : Sequence("Delete(" + (Element(liste, i)) + ")", i, 1, Length(liste))
Hi Michael, How are you ?
You're right : in my applet downloaded , the liste is empty, but when i open my applet on line it's like if all the objects are reconized as new objects and so enter in the list.
What i don't undestand is why all the applets i made before with the same script are ok and not this one ???
do i need to put a condition on my global javascript to active the line only after the applet is open ?
function Ajouter(M) {
ggbApplet.evalCommand('SetValue[liste,Insert["' + M + '",liste,1]]');
}
thanks all,
have a nice day,
bruno
ok i put a button to clear the list at the beginning
i think it's ok : ill19_cercle_circonscrit – GeoGebra
thanks all,
bruno
Comments have been locked on this page!