Joining Operators

The joining operators are applied only in column Operator 3, to items Condition, Bond and Execution.
Operator |
Description |
Columns |
||
1 |
2 |
3 |
||
.CNT. |
Inform that there are more items to be executed in the following lines (execution, condition or bond), on the same level |
|
|
x |
.END. |
Informs that there are no more items to be executed for the same level, indicating that the execution is the last item of a condition, bond or formula |
|
|
x |
When the item is a condition or a bond, the valid operators are:
Operator |
Description |
Columns |
||
1 |
2 |
3 |
||
.OR. |
Informs that there are other expressions joining this condition and that will execute their respective sub-items if one of the conditions is satisfied |
|
|
x |
.AND. |
Informs that there are other expressions joining this condition and that will execute their respective sub-items if all conditions are satisfied |
|
|
x |
.END. |
Informs that the condition was finalized. |
|
|
|
Example:
Type |
Result |
Operator 1 |
1st Expression |
Operator 2 |
2nd Expression |
Operator 3 |
Execution |
fo_GoTop(@oSRC) |
|
|
|
|
.CNT. |
Bond |
|
|
!fo_Eof(@oSRC) |
|
|
.END. |
Execution |
cVerba |
:= |
fo_GetVar(@oSRC,cCpoPd) |
|
|
.CNT. |
Execution |
CtVerba |
:= |
fo_GetVar(@oSRC,cCpoTp) |
|
|
.CNT. |
Condition |
|
|
PosSrv(cVerba, SRA->RA_FILIAL, RV_DSRPROF) |
== |
S |
.AND. |
Condition |
|
|
CtVerba |
== |
1 |
.END. |
Execution |
nBsDSRVar |
+= |
fo_GetVal (@CposVl) |
|
|
.END. |
Execution |
fo_Skip(oSRC) |
|
|
|
|
.END. |