24.11.2014 Views

Open Watcom FORTRAN 77 Language Reference

Open Watcom FORTRAN 77 Language Reference

Open Watcom FORTRAN 77 Language Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Functions and Subroutines<br />

12.7.3 RETURN Statement in Subroutine Subprograms<br />

The form of a RETURN statement in a subroutine subprogram is:<br />

<br />

RETURN [ e ]<br />

where:<br />

e<br />

is an integer expression.<br />

If the expression e is omitted or has a value less than one or greater than the number of asterisks appearing<br />

in the dummy argument list of the subroutine or entry name referenced, then control is returned to the next<br />

executable statement that follows the CALL statement in the referencing program unit. If 1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!