5-72 Command Reference
RETURN
Purpose Breaks out of a subroutine.
Syntax RETURN
Process The RETURN command breaks out of a subroutine. It transfers control back to the
command following the CALL activating the subroutine.
NOTE: Using END in a subroutine also implies a RETURN. Therefore, the RETURN
command is not required as the last command of a subroutine.
Example
This example breaks out of a subroutine.
COMPARE FSIZE,EQ,#12,,*GOODDATA
RETURN
See Also
CALL