return value

The value returned by a 4GL function to the calling routine. To return a value, the FUNCTION program block must include the RETURN statement. The calling routine must have some way of handling the functions return value(s). Reports cannot return a value to a calling function.

See also 4GL function, calling routine, function definition, programmer-defined function.