Error.Halt | Part of Error module |
Syntax | Error.Halt (errorMessage : string) |
Description | Error.Halt is a procedure that immediately halts execution of
the program and shows the specified error message on the line in the
program that calls Error.Halt. This procedure is useful for allowing a quick halt to a program while indicating an error condition.
|
Example | This program halts on the first line with an error message stating
"Execution terminated by the program."
Error.Halt ("Execution terminated by the program.") |
Execute |
|
Status | Exported qualified. This means that you can only call the function by calling Error.Halt, not by calling Halt.
|