home *** CD-ROM | disk | FTP | other *** search
- {
- F i l e I n f o r m a t i o n
-
- * DESCRIPTION
- Turbo Pascal V4.0 DEARC routine to abort with a message.
-
- * ASSOCIATED FILES
- DEARC.PAS
- DEARCABT.PAS
- DEARCGLB.PAS
- DEARCIO.PAS
- DEARCLZW.PAS
- DEARCUNP.PAS
- DEARCUSQ.PAS
- DEARC.TXT
-
- }
- (**
- *
- * 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.
-
-