Proceed

Parent Previous Next

"proceed" can be used as a special replacement for "return" as well as in place of "Result".


The Python return statement is a special statement that can be used within a function or method to terminate the function call and return the result of the function back to the caller.

However, there is no such call in the script expressions of the controls. A return statement cannot be used here. However, the use of return is advantageous, e.g. for case distinctions, since otherwise you would have to work with nested statements.

The proceed statement allows you to use it like a return, except that proceed cannot only be used within a function.



Example - proceed instead of return




Example - proceed instead of Result