home *** CD-ROM | disk | FTP | other *** search
- {TUG PDS CERT 1.01 (Pascal)
-
- ==========================================================================
-
- TUG PUBLIC DOMAIN SOFTWARE CERTIFICATION
-
- The Turbo User Group (TUG) is recognized by Borland International as the
- official support organization for Turbo languages. This file has been
- compiled and verified by the TUG library staff. We are reasonably certain
- that the information contained in this file is public domain material, but
- it is also subject to any restrictions applied by its author.
-
- This diskette contains PROGRAMS and/or DATA determined to be in the PUBLIC
- DOMAIN, provided as a service of TUG for the use of its members. The
- Turbo User Group will not be liable for any damages, including any lost
- profits, lost savings or other incidental or consequential damages arising
- out of the use of or inability to use the contents, even if TUG has been
- advised of the possibility of such damages, or for any claim by any
- other party.
-
- To the best of our knowledge, the routines in this file compile and function
- properly in accordance with the information described below.
-
- If you discover an error in this file, we would appreciate it if you would
- report it to us. To report bugs, or to request information on membership
- in TUG, please contact us at:
-
- Turbo User Group
- PO Box 1510
- Poulsbo, Washington USA 98370
-
- --------------------------------------------------------------------------
- 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
-
- * CHECKED BY
- DRM 08/08/88
-
- * KEYWORDS
- TURBO PASCAL V4.0
-
- ==========================================================================
- }
- (**
- *
- * 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.
-