User Tools

Site Tools


numeric_expressions.htm
Navigation:  Language Reference > 10 - Expressions > Types of Expressions >====== Numeric Expressions ====== Previous pageReturn to chapter overviewNext page

Numeric expressions may be used as parameters of procedures, the condition of IF, CASE, LOOP, or EXECUTE structures, or as the source portion of an assignment statement where the destination is a numeric variable. A numeric expression may contain arithmetic operators and the concatenation operator, but they may not contain logical operators. When used in a numeric expression, string constants and variables are converted to numeric intermediate values. If the concatenation operator is used, the intermediate value is converted to numeric after the concatenation occurs.

Example:

Count + 1         !Add 1 to Count

(1 - N * N) / R   !N times N subtracted from 1 then divided by R

305 & 7854555     !Concatenate area code with phone number

See Also:

Data Conversion Rules

numeric_expressions.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1