Return
Mon 01 January 2018Syntax
Return [expression]
Description
Use the Return function to return from the currently active function; the flow of execution continues from the point where the function was called.
If the function or method returns a result, that is, if a return value is specified in the Returns clause of the function or method definition, expression specifies the value to pass back to the caller and must be included. If the function or method does not return a result, the expression is not allowed. If Return appears in a main program, it acts the same as the Exit function.