Scripting/Programming Language
Jump to navigation
Jump to search
(This is still a draft)
Contents
Jmol scripting as a programming language
Jmol math
- Variables
- Global and local scope
- Read-only variables
- Variable types
- Quaternion math
- Operators and operands
- Operation rules
See https://chemapps.stolaf.edu/jmol/docs/#jmolmath for the details
Functions
See https://chemapps.stolaf.edu/jmol/docs/#functions for the details
Flow control
See https://chemapps.stolaf.edu/jmol/docs/ for the documentation on each of these commands:
- if ... elseif ... else ... endif
- if ? : (inline conditional)
- for
- while
- break
- continue
- loop
- goto
- switch / case
- try ... catch
- delay
- quit
- exit
- pause / wait
- resume
- step
- return
- timeout
Extensions
- javascript
- prompt
- script