System.RunError

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure RunError([ErrorCode: Byte]); overload;
procedure RunError([ErrorCode: Byte]); overload;

Properties

Type Visibility Source Unit Parent
procedure public System.pas System System

Description

Stops execution and generates a run-time error.

In Delphi, the RunError procedure stops the program execution by generating a run-time error with the given number at the current statement. Errorcode is the run-time error number (0 if omitted).

See Also


Code Examples