Syntax

The QUIT statement raises the QUIT condition.

QUIT.

When the QUIT condition occurs, the AVM performs these steps by default:

  1. Commits the current transaction.
  2. Exits the ABL session.
  3. For a client, if the application was started from the Procedure Editor or Progress Developer Studio for OpenEdge, the AVM returns to that tool; otherwise it returns to the operating system. If running in an application server, the AVM returns to the client session that called it.

If there is an ON QUIT phrase on the current block, that directive overrides the default behavior.