Check at compile time that RETURN in a procedure does not specify a parameter, rather than at run time.
Attach a file by drag & drop or click to upload