RunError
Generate a run-time error.
Declaration
Source position: systemh.inc line 1624
procedure RunError(w: Word);
procedure RunError;
Description
Runerror stops the execution of the program, and generates a run-time error ErrorCode.
Errors
None.
See also
Name | Description |
---|---|
Exit | Exit current subroutine. |
Halt | Stop program execution. |
Example
Program Example55;
{ Program to demonstrate the RunError function. }
begin
{ The program will stop end emit a run-error 106 }
RunError (106);
end.