The Expression Editor
AXE's calculator window is a handy way of accessing the expression evaluator
for general-purpose calculation.
This dialog is used to edit and run AXE expressions. The syntax of AXE's C-like
expressions is described here
.
The Script Name window shows the name of the expression. You can
rename expressions here.
The main editing window is a text area for you to enter an expression in. When
you create a new expression, a comment giving the time will be inserted here
automatically. As of this version of AXE the edit window is a plain text box
control, so it may be useful to paste expressions in from some other editor.
The Result window shows the result of the last evaluation. In this
case the last statement is just count; so the value of count
is the result.
Below the result window, the name of the document on which expressions will be
run is shown.
The Variables window shows the variables that were defined at the end
of the last evaluation.
The Clear button clears the variables away, in case you want the next
calculation to make a fresh start.
The Run button runs the expression but does not commit it to the
library. There is no way to break a running expression in version 3.3, so
make sure your loops will terminate...
The Close & Save button closes this dialog and writes the expression
into the expression library.
The calculator remembers whatever expression is in it when you close the window,
so you don't lose your expression.