VMS Help FORTRAN, Data, Expressions, Arithmetic *Conan The Librarian (sorry for the slow response - running on an old VAX) |
Arithmetic expressions contain numeric data such as variables, record elements, array elements, constants, function references, and arithmetic expressions enclosed in parentheses. The expression evaluates to a numeric value. The numeric operators are as follows: OPERATOR RANK DESCRIPTION ** 1 exponentiation (evaluated right to left) * 2 multiplication / 2 division + 3 addition - 3 subtraction You can use parentheses to force an order of evaluation.
|