Flow Control
OPERAND 1 |
OPERATOR |
OPERAND 2 |
RESULT |
|||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LABEL |
LABEL |
|
|
|||||||||||||||||||||||||||||||||||||||||
This operator only indicates the row in which the brand or label used by the operators is SI_MAYOR, SI_MENOR, SI_DIFERENTE, SI_IGUAL e SALTA. |
||||||||||||||||||||||||||||||||||||||||||||
N, F, C, L |
SI_IGUAL |
N, F, C, L |
LABEL |
|||||||||||||||||||||||||||||||||||||||||
N, F |
SI_MAYOR |
N, F |
LABEL |
|||||||||||||||||||||||||||||||||||||||||
N, F |
SI_MENOR |
N, F |
LABEL |
|||||||||||||||||||||||||||||||||||||||||
N, F, C, L |
SI_DIFERENTE |
N, F, C, L |
LABEL |
|||||||||||||||||||||||||||||||||||||||||
These four operators are used to compare two values. If the result is positive, so it skips to the formula row in which the label indicated in the Result is. It can skip above or below. Generally, when conditionals (IF or SI for Excel, for example), the following actions are placed after the condition. In GPE MODELO II, place the actions, in positive case and the the condition. Below the condition, the contrary actions. For example: If the employee has the seniority date, take this information into account in order to determine the seniority. Otherwise, check whether there is a readmission date and take this date to determine the seniority; otherwise, take the hiring date.
|
||||||||||||||||||||||||||||||||||||||||||||
|
SALTA |
|
Label |
|||||||||||||||||||||||||||||||||||||||||
This operator is an unconditional skip. That is, it automatically pass to the formula row in which the label indicated in Results is. For example, if the raise type is equal to 1, and the daily salary is smaller than the minimum and different than zero, the minimum salary must be moved to daily salary. If the type of raise is equal to 2, so the daily salary must be multiplied by the general %.
|