Logical Operators

Applicable only to Condition and Bond items and sub-items.
Operator |
Description |
Columns |
||
1 |
2 |
3 |
||
= |
Verifies if value of field 1st Expression equals the value of field 2nd Expression. |
|
x |
|
== |
Verifies if value of field 1st Expression equals exactly the value of field 2nd Expression. |
|
x |
|
< |
Verifies if value of field 1st Expression is lower than the value of field 2nd Expression. |
|
x |
|
<= |
Verifies if value of field 1st Expression is lower than or equal to the value of field 2nd Expression. |
|
x |
|
> |
Verifies if value of field 1st Expression is higher than the value of field 2nd Expression. |
|
x |
|
>= |
Verifies if value of field 1st Expression is higher than or equal to the value of field 2nd Expression. |
|
x |
|
!= <> # |
Verifies if value of field 1st Expression is different than the value of field 2nd Expression. |
|
x |
|
$ |
Verifies if value of field 1st Expression is included in the value of field 2nd Expression. |
|
x |
|
! |
Denies values of field 1st Expression. |
|
x |
|
.NOT. |
Denies values of field 1st Expression. |
|
x |
|
Example:
Type |
Result |
Operator 1 |
1st Expression |
Operator 2 |
2nd Expression |
Operator 3 |
Execution |
nValtTot |
:= |
nVal |
:= |
0 |
.END. |
Execution |
nValTot |
:= |
nVal |
+ |
SRA->RA_SALARIO |
.END. |
Condition |
|
|
CTipDep |
== |
2 |
.END. |
Bond |
|
|
cTipDep==2 |
.NOT. |
|
.END. |