-
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.
Array
A value of the data type "array" is a group of values which can have the same or different data types.
Character string
Values of the "character" data type consist of one or more ASCII characters.
Code block
The data type "code block" designates a value containing executable code.
Date
The "date" data type identifies values representing calendar dates.
Logical
There are only two values for the "logical" data type: true and false.
Memo
The data type "Memo" specifies a field variable which can store a character string of variable length.
NIL
For the data type NIL, there is only one value which can be defined in a program.
Numeric
The data type "numeric" identifies values that can be used in executing mathematical operations.
Object
The data type "object" designates a value which has its own variables and program code.