RETURN: exit a subroutine or a function before the END is reached
⇒Home
⇒Contents
⇒more on Programming
RETURN transfers control from a subprogram to the calling program unit
when a RETURN is executed in a
FUNCTION
, control is transferred to the referencing statement in the calling procedure.
when a RETURN is executed in a
SUBROUTINE
, control is transferred to the first statement following the
CALL
statement that invoked the SUBROUTINE.
©2000-2010 Georg Petrich, HicEst Instant Prototype Computing.
All rights reserved.
Impressum