[Next] [Up] [Previous]

The STOP Statement

The statement


causes execution of a main program to terminate normally, or any subroutine to return control to its caller.

In the form

       STOP n

it sets the return code of the routine to n to indicate, when n is not equal to zero, an abnormal termination.

[Next] [Up] [Previous]