Operators specify how operands in a DPL expression are manipulated and combined. Because most operands in DPL represent numeric data, most DPL operators process numbers.

There are several categories of operators. Some operators (like +, -, and *) use their operands to perform arithmetic; they are called arithmetic operators. Other operators (like <, >=, and ==) test relationships between their operands; they are called relational operators. A third set of operators (&&, || , and !) perform Boolean logic; they are called logical operators. Another operator (? :) tests one of its operands and evaluates one of two other operands depending on the result of the test; it is called the conditional operator.

The order in which DPL combines operators and operands depends on the relative precedence of the operators. Operators with higher precedence are evaluated first. They cause DPL to evaluate most expressions in an intuitive sequence of steps.

Versions: DPL Professional, DPL Enterprise, DPL Portfolio