home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 September
/
Simtel20_Sept92.cdr
/
msdos
/
arc_lbr
/
dearc31.arc
/
DEARCABT.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1988-07-26
|
654b
|
39 lines
(**
*
* 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.