NET/MASTER Network Control Language (NCL) Reference Manual

Arithmetic Operators and Expressions
Expressions and Operators
10–10 106126 Tandem Computers Incorporated
Multiplication Operator (*)
The multiplication operator (*) multiplies the left term of an expression by the right
term. The terms must represent valid numbers.
The general syntax for using the multiplication operator is:
term
*
term
term
specifies a term in an expression. Terms are defined at the beginning of this
section under “The Composition of Expressions.”
Some examples are listed in the following table:
What You Type Result
&a = 2 * 2 &a has the value 4.
&a = 5 * 3 &a has the value 15.
Division Operator (/)
The division operator (/) divides the left term of an expression by the right term. The
terms must represent valid numbers. The result may be fractional.
The general syntax for using the division operator is:
term
/
term
term
specifies a term in an expression. Terms are defined at the beginning of this
section under “The Composition of Expressions.”
Some examples are listed in the following table:
What You Type Result
&a = 2 / 2 &a has the value 1.
&a = 3 / 2 &a has the value 1.5.