System.RunError

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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 Object Pascal, 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