7.5 Adding operators

7.5.1 Definition

The addition operators + and - are predefined in their known meaning for every numerical type.

The concatenation operator & is predefined for any one-dimensional array type.

7.5.2 Overview

Operator

Operation

Operand type

(left)

Operand type

(right)

Result type

+

Addition

any numerical type

same type

same type

-

Subtraction

any numerical type

same type

same type




&



Chaining

(Concatenation)

any array type

same array type

same array type

any array type

element type

same array type

element type

any array type

same array type

element type

element type

any array type

7.5.3 Additional information

The prefixes + and - are predefined for any numerical type.

According to the priority rules for expressions a prefix operand must not follow multiplication

operators, the exponentiation operator ** or the operators ABS and NOT .

The following expressions are syntactically wrong:

A / +B                                 A ** -B

Expressions of the following form, however, are permitted:

A / (+B)                                 A ** (-B)