Scripting/Programming Language
Revision as of 10:20, 31 August 2013 by AngelHerraez (talk | contribs) (Jmol scripting as a programming language)
(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