Other operators
Provides a reference of other operators used in OPL.
Other operators are described in detail in the section dedicated to the data type they operate on.
| Syntax | Effect |
|---|---|
|
Arithmetic operators. These operators perform the usual arithmetic operations. In addition, the + operator can be used to concatenate strings. See Numeric operators and String operators. |
|
Equality operators. These operators can be used to compare numbers and strings; see Numeric operators and String operators. For
other types of values, such as dates, arrays, and objects, the |
|
Relational operators. These operators can be used to compare numbers and strings. See Numeric operators and String operators. |
|
Bitwise operators. See Numeric operators. |
condition |
Logical operators. See Logical operators. |