next up previous contents index
Next: Example Up: Evaluate Statement Previous: Evaluate Statement

Syntax

EVALuate (<evaluate-statement>)
is a control statement.
<evaluate-statement>:==
<symbol> = <operation>
<operation>:==
<vflc> [<op> <operation> ]
<op>:==
+
denotes addition or concatenation for strings.
-
denotes subtraction or unary minus or negative concatenation for strings.
denotes multiplication.
denotes division.
^
denotes exponentiation.
denotes exponentiation (same as ^ ).

<vflc>:==
<function>|<symbol>|<real>|<integer>|<string> deals with the fact that the data types of the operations and operands have to match; otherwise an error message is issued. The available functions, such as SIN, COS, and TAN, are defined in Section 2.16.



Web Manager
Sat Mar 11 09:37:37 PST 1995