The preprocessor RETURN statement can be used only in a preprocessor procedure and only when the procedure has the RETURNS attribute, and it therefore, can have no leading %. It returns a value as well as control back to the point from which the preprocessor procedure was invoked. At least one RETURN statement must appear in each preprocessor procedure that has the RETURNS attribute.
The value returned by a preprocessor function procedure to the point of invocation is specified by the preprocessor-expression in a RETURN statement in the procedure. The syntax of the preprocessor RETURN statement is:
|