Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
EXIT PROGRAM (↑ Statements)
◄Key► ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
Verb: EXIT
Function: Marks the end of a procedure or cycle of an in-line
perform, causing the indicated level of procedure (PERFORM
CYCLE, PERFORM, PARAGRAPH, SECTION or PROGRAM) to be
terminated at that point.
Syntax: Which format? PROGRAM ◄PERFORM►
◄paragraph►
►►─EXIT─┬───────────────────────────────────────────────────────────┬►◄
└─PROGRAM─┬─────────────────────────────────────────────────┤
└┬─RETURNING─┬─┬────────────┬─data-name-1─────────┤
└─GIVING────┘ ├─ADDRESS OF─┘ │
└─literal-1─┬─────────────────────┬┘
└─SIZE─┬──┬─literal-2─┘
└IS┘
-♦-