Scripts Syntax Reference

The scripts language is JavaScript. The script instructions may include control and calculation statements as well as conditional operators and loops. It is also possible to test the status of field objects and send out commands. Additionally, intermediate results can be stored in local or global variables and then used for further processing.

Scripts can operate on variables, such as internal memory locations identified by a label. Variables can be local to a single script, or global and therefore visible to all scripts.

  • Local variables are initialized each time the script is launched and remain available until the script ends.
  • Global variables are instead stored in the system memory and are available for all scripts and macros.