final-on-condition(ret a, cnd b, par c [, d, ...])
Group |
This function is deprecated.
Always returns a. If the result of the operation b using the parameter c and - if needed for that operation - additional parameters d, … is true the result will be the final value and the execution of the function chain will be finished. If the function is used in a macro, the macro will be aborted and the function chain in which the macro is used.
Is a set to the value ##EMPTY_VALUE##, the Empty Flag will be set and an empty string ("") of length 0 will be returned.
In order to perform the operation, the logical-condition(cnd a, val b [, c, ...]) function is called. Parameters b - g are passed to this function (becoming a to f for that function). Possible values for b can be found in the description of that function.
Description of Parameters
Parameter |
Description |
a |
Value to be returned or ##EMPTY_VALUE## for an empty string ("") of length 0 with set Empty Flag. |
b |
Parameter a in function logical-condition(cnd a, val b [, c, ...]). |
c |
Parameter b in function logical-condition(cnd a, val b [, c, ...]). |
d |
(optional) Parameter c in function logical-condition(cnd a, val b [, c, ...]). |
e |
(optional) Parameter d in function logical-condition(cnd a, val b [, c, ...]). |
f |
(optional) Parameter e in function logical-condition(cnd a, val b [, c, ...]). |
g |
(optional) Parameter f in function logical-condition(cnd a, val b [, c, ...]). |
Examples
Parameter a |
Param b |
Param c |
Param d |
Result |
Final Value |
Result of is empty(a) |
A value |
not equal |
003 |
003 |
A value |
false |
false |
A value |
not equal |
004 |
003 |
A value |
true |
false |
A value |
< |
4 |
5 |
A value |
true |
false |
A value |
< |
5 |
4 |
A value |
false |
false |
##EMPTY_VALUE## |
< |
4 |
5 |
(string of length 0 ("")) |
true |
false |
##EMPTY_VALUE## |
< |
5 |
4 |
(string of length 0 ("")) |
false |
true |