Skip to content

Abort

See Also: Runprogram, Exit_Application

Purpose

To end the execution of the current DataFlex program. Control returns to the calling DataFlex program (in the case of nested execution by Chain Wait or Runprogram Wait) or to the operating system.

Syntax

Abort

What It Does

Abort closes all files opened by the current DataFlex program and returns execution to the operating system or to the program from which the DataFlex program was called.

Notes

  • Although Abort may be placed in positions other than the end of the program, it is best not to use Abort too liberally in the source code or your program may become confusing.
  • Abort also closes the Showln console window.