Operators Group

HostExplorer Programming

Operators Group

3270 5250 VT

^—Exponentiation.

-,+—Unary minus and plus. The + operator is also used for string concatenation.

*,/—Numeric multiplication or division. For division, the result is a Double.

\—Integer division. The operand can be Integer or Long.

Mod—Modulus or Remainder. The operand can be Integer or Long.

&—String concatenation.

>,<,=,<=.>=,==—Numeric or string comparison.

Not—Unary Not.

And—Operands can be Integer or Long.

Or—Inclusive Or.

Xor—Exclusive Or.

Eqv—Equivalence.

Imp—Implication.

Is—Compares two object reference variables.

Like—Compares two strings.

Rem—Includes explanatory remarks in a program.