5.5 END Statement

The END statement marks the end of a program unit and must be the last source line of every program unit. It takes the following form:

END

In a main program, if control reaches the END statement, program execution terminates. In a subprogram, a RETURN statement is implicitly executed.

If an initial line contains only an END in the statement field, it is treated as an END statement even if it is followed by continuation lines.

For More Information:


Previous Page Next Page Table of Contents