-
Minus operator (unary): reverses sign of operand (multiplies operand by -1).
--
Decrement operator (unary): subtracts one from a numeric or date value.
->
Alias operator (binary): selects a work area.
$
Substring operator (binary): searches for a substring within another character string.
%
Modulus operator (binary): determines the remainder of a division.
&
Macro operator (unary): compiles character expression at runtime.
( )
Execution operator: executes functions, procedures and methods as well as delimiting groups of expressions.
*
Multiplication operator (binary): performs numeric multiplication.
**
Exponential operator (binary): exponentiation of a numeric value.
.AND.
.AND. Operator (binary): logical AND
.NOT.
.NOT. operator (unary): logical negation.
.OR.
.OR. operator (binary): logical OR
/
Division operator (binary): performs numeric division.
:
Send operator (binary): sends a message to an object.
::
Send operator (binary): sends a message to the object self.
:=
Inline assignment (binary): assigns a value to one or more variables.
@
Reference operator (unary): passing a variable by reference instead of by value.
[ ]
Index operator (binary): accesses a specific element of an array, string, numeric or object.
{ }
Literal array: encloses values for literal arrays.
{|| }
Delimiting characters for literal code blocks.
+
Plus operator (unary): defines the sign of numeric values.
++
Increment operators (unary): increase numeric or date value by one.
<
Less than operator (binary): size comparison of two values.
<=
Less than or equal to operator (binary): size comparison of two values.
<>
!= #
Not equal operators (binary): testing two values for inequality.
= (assignment)
Simple assignment (binary): assigns a value to a variable.
= (comparison)
Simple equality operator (binary): testing two values for equality.
= (compound assignment)
Compound assignment (binary): performs an operation and assigns the resulting value to a variable.
==
Exactly equal operator (binary): tests whether two values are identical.
>
Greater than operator (binary): size comparison of two values.
>=
Greater than or equal to operator (binary): size comparison of two values.