Use the RETURN statement to return control to the calling state table after the successful completion of a prompt. When prompts are nested, RETURN returns control to the calling prompt.
Any statement following the RETURN statement is not executed. A return value can be passed in the optional parameter. This value is stored in the System :g PlayPrompt status system variable. If a string variable is specified, it should contain only numerals and the characters + and -.
Note: Use the ABORT statement (described in ABORT prompt statement) to return control to the calling state table when there is an invalid completion of a prompt.
RETURNÂ (success);
The prompt returns a value in the success variable that indicates the result of the play.