Runerror

Declaration:
Procedure Runerror (ErrorCode : Word);
Description:
Runerror stops the execution of the program, and generates a run-time error ErrorCode.
Errors:
None.
See also:
Exit (491), Halt (508)

Listing: refex/ex55.pp


Program Example55;

{ Program to demonstrate the RunError function. }

begin
  { The program will stop end emit a run-error 106 }
  RunError (106);
end.