Difference between revisions of "Scripting/Programming Language"

From Jmol
Jump to navigation Jump to search
(Jmol scripting as a programming language)
 
m (Jmol scripting as a programming language)
Line 2: Line 2:
  
 
== Jmol scripting as a programming language ==
 
== Jmol scripting as a programming language ==
 
 
mathematical operators (JmolMath), control structures (loops, conditionals, etc.). You may be interested in this
 
  
 
=== Jmol math ===
 
=== Jmol math ===

Revision as of 10:15, 31 August 2013

(This is still a draft)

Jmol scripting as a programming language

Jmol math

  • Jmol Variables
  • Global and Local Scope
  • Read-Only Variables
  • Jmol Math Variable Types
  • Jmol Quaternion Math
  • Operators and Operands
  • Operation Rules

See http://chemapps.stolaf.edu/jmol/docs/#jmolmath for the details

Functions

See http://chemapps.stolaf.edu/jmol/docs/#functions for the details

Control structures

  • if ... else ... elseif
  • for
  • while
  • break
  • continue
  • loop
  • goto
  • switch / case
  • try ... catch
  • delay
  • quit
  • exit
  • pause / wait
  • resume
  • step
  • return
  • timeout

Extensions

  • javascript
  • print
  • prompt
  • script

Contributors

AngelHerraez