4.2
ARITHMETIC
EXPRESSIONS AND
STATEMENTS
4.2.1
EXPRESSIONS
4-4
An arithmetic expression may be composed of the following elements:
Identifier of a numeric elementary item
Numeric literal
Identifiers and literals separated by arithmetic operators
Two arithmetic expressions separated by an arithmetic operator
Arithmetic expression enclosed in parentheses
Figurative constant: ZERO (S) (ES)
An identifier is a data name followed, as required, by the syntactically
correct combination of qualifiers, subscripts, and indexes necessary to
make unique reference to the data item. The identifiers and literals appearing
in an arithmetic expression are numeric elementary items or numeric literals
on which arithmetic may be performed. The USAGE of the identifiers is
specified as:
COMPUTATIONAL, COMPUTA TIONA L-l , or COMPUTATIONAL-2
The following arithmetic operators are used in arithmetic expressions:
Operator
Meaning
+
Addition
Subtraction
*
Multiplication
/
Division
**
Exponentiation
Each operator is preceded by a space and followed by a space.
Logical
negation is expressed by a unary -.
An arithmetic expression may begin only \vith:
left parenthesis (
unary -
variable
and may end only with:
right parenthesis )
variable
60229400
Need help?
Do you have a question about the 3300 and is the answer not in the manual?