script error not found

hawe shared this problem 1 month ago
Not a Problem

https://www.geogebra.org/m/cvmyzugu


CheckBox POS Ligth (POS CAM)

the skript has done work - for a while, but

If(CAMLigth,

Execute({"L=("+a+","+b+","+c+")", "a="+x(K),"b="+y(K),"c="+z(K),"K=(a,b,c)"}),

Execute({"K=("+a+","+b+","+c+")", "a="+x(L),"b="+y(L),"c="+z(L),"L=(a,b,c)"}))

If(CAMLigth,SetCaption(CAMLigth,"POS Kamera"),SetCaption(CAMLigth,"POS Licht"))

/wfXoTbVQh43jQAAAABJRU5ErkJggg==


What should be wrong to that script - when I put the lists in variables it is acepted.

Comments (5)

photo
1

({............................ })) I think last ) must be deleted

photo
1

this is closing if clause

as i said this script has been working, but suddenly throwing an error

photo
1

just count the brackets and remove the last one as mathmagic wrote. You are closing one more than you opened, so it can't work.

chris

photo
1

see working version of script

https://www.geogebra.org/cl...

photo
1

el script que trabaja tiene dos lineas

posiblemente has copiado y pegado como si tuviera cuatro lineas. elimina los saltos de linea al final de la primera y la segunda para volver a tener dos lineas

© 2019 International GeoGebra Institute