home *** CD-ROM | disk | FTP | other *** search
- (**
- *
- * Module: dearcabt.pas
- * Description: DEARC routine to abort with a message
- *
- * Revision History:
- * 7-26-88 : unitized for Turbo v4.0
- *
- **)
-
-
- unit dearcabt;
-
- interface
-
- uses
- dearcglb;
-
- procedure abort(s : strtype);
-
- implementation
-
- (**
- *
- * Name: procedure abort
- * Description: terminate the program with an error message
- * Parameters: var -
- * s : strtype - message to print
- *
- **)
- procedure abort(s : strtype);
- begin
- writeln('ABORT: ', s);
- halt(1); { pbr: added (1) param - dos exit code }
- end; (* proc abort *)
-
- end.
-
-