next up previous contents index
Next: Seek Up: Functions and Procedures Previous: Round

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, Halt

Example
Program Example55;

{ Program to demonstrate the RunError function. }

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



Michael Van Canneyt
Thu Sep 10 14:02:43 CEST 1998