Rev 6713 | Rev 6718 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6713 | Rev 6715 | ||
---|---|---|---|
Line 17... | Line 17... | ||
17 | list_of_things=['text','point','line','segment','circle','function','polygon','conic','ellipse','polynomial','vector','number','angle']; |
17 | list_of_things=['text','point','line','segment','circle','function','polygon','conic','ellipse','polynomial','vector','number','angle']; |
18 | !else |
18 | !else |
19 | list_of_things=$list_of_things |
19 | list_of_things=$list_of_things |
20 | !endif |
20 | !endif |
21 | function sendanswer(){ |
21 | function sendanswer(){ |
22 | var reply=geogebra2wims( |
22 | var reply=geogebra2wims(list_of_things); |
23 | var test=reply.split(",");var found_nothing=0; |
23 | var test=reply.split(",");var found_nothing=0; |
24 | for(var p=0;p<test.length;p++){ |
24 | for(var p=0;p<test.length;p++){ |
25 | if(test[p] == 0){found_nothing++;} |
25 | if(test[p] == 0){found_nothing++;} |
26 | } |
26 | } |
27 | if(found_nothing == test.length){setAlarm(r35+"<br /> hmmm ? ");return;} |
27 | if(found_nothing == test.length){setAlarm(r35+"<br /> hmmm ? ");return;} |