GeoGebra Script and JavaScript
We can use GeoGebra Script and JavaScript.
GeoGebra Script
- Same commands with Input bar.
- 1 command for 1 line.
- It support IF command, but no "for" and "while" loop, use "Sequence()".
- You can find "Create New Tool" and "Manage Tools" in main menu.
- It's not supporting recursive programming.
- It's an original language, is easy to learn for users of GeoGebra.
- Basically, it's an script attached to some object.
- It is a general (and popular) programming language.
- It's supporting statements: "
if
", "for
" and "while
", ... - Declares a variable x with
"
var x;"
- It's supporting array data structure.
- 2 kinds of scripts, one is attached to some object, the other is global script.
- On Click
- On Update
- Defining functions (not variables) which will be available from the other scripts.