TACL Reference Manual
Built-In Functions and Variables
HP NonStop TACL Reference Manual—429513-018
9-330
#RETURN Built-In Function
#RETURN Built-In Function
Use #RETURN to exit immediately from a routine.
Result
#RETURN returns nothing.
Considerations
•
TACL immediately exits from the current routine as though there were no more
code after #RETURN.
•
#RETURN does not reset #FRAMEs. If you use #RETURN, be sure to
#UNFRAME any #FRAME within your routine or call #RESET FRAMES to invoke
#UNFRAME for all frames with frame numbers higher than they were when the
routine was entered.
•
To provide alternative exits, you can include multiple, conditional #RETURN
commands in a single routine.
#RETURN