arithmetic.operators Definition/BASIC Program

arithmetic.operators

Command arithmetic.operators Definition/BASIC Program
Applicable release versions: AP, R83
Category BASIC Program (486)
Description add, subtract, multiply, and divide numeric operands in arithmetic expressions.

The simplest arithmetic expression is a single numeric constant, variable, or function. More complex arithmetic expressions may combine two or more expressions using an arithmetic operator.

If a string value is used in an arithmetic expression, the Pick/BASIC runtime package attempts to convert it into a number. If it fails, "0" (zero) is used and a warning displays.
Syntax
Options
Example
total = (invoice.amount - discount) + tax
Purpose
Related basic.precision
basic.arithmetic.expressions
basic.precedence
basic.=
basic.-
basic.*=
basic.+=
basic.-=
basic./=
basic.:=
basic.+
basic.*.multiply