Caché Basic Reference
Exits from the current function and returns a value from that function.
statement syntax has these parts:
You use the Return
statement to stop execution of a function and return the value of expression. If no Return
statement is executed from within the function, the expression that called the current function is assigned the value undefined.
The following example illustrates the use of the Return
Function IsGreaterThan(lower, upper)
If lower > upper Then
ElseIf lower = upper Then