Special Variables

There are several system variables you can read and write in templates to control features of cell creation. A browser style can also create it's own special variables (using a browser style's editing properties) that will be initialized to a default setting and templates can use them for any custom purpose. There are also numerous read-only variables that provide information about the cell creation process.

Note: When using GENerel to write internal scripts, there are no "System Variables" and only the "Read-Only Variables" listed here.

System Variables

The following variables are initialized to their current values at the start of any template (see editing properties). A template can change their value to change that property for subsequent cells and called templates. They are reset to the original values when the template ends.

Read-Only Variables

The following variables can be used in expressions, but cannot be changed by a template (although some can be changed with commands). They all end in "$". The variables (in alphabetical order) are: