System.SysUtils.Abort

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Abort;

C++

extern DELPHI_PACKAGE void __fastcall Abort(void);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

Description

Raises a silent exception.

Use Abort to escape from an execution path without reporting an error.

Abort raises a special "silent exception" (EAbort), which operates like any other exception, but does not display an error message to the end user. Abort redirects execution to the end of the last exception block.

See Also

Code Examples