This document covers the following topics:
For an explanation of the symbols used in the syntax diagram, see Syntax Symbols.
END statement is used to mark the physical end of a
Natural program. No symbols may follow the
In reporting mode, any processing loop which is currently active
(that is, which has not been closed with a
LOOP statement) is closed by the
END statement is executed in a main program
(that is, a program executing on Level 1), final end-page processing is
performed as well as final break processing for user-initiated breaks
PROCESSING) which have not been associated with a processing
loop by specifying a reference
END statement is executed in a subprogram, or
in a program invoked with
RETURN, control will be returned to the invoking program
without any final processing.
The Natural reserved keyword
Instead of the Natural reserved keyword
For some typical examples, see Examples of DEFINE DATA Statement Usage.