home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / pascal / library / dos / tug__002 / dearcabt.pas < prev    next >
Encoding:
Pascal/Delphi Source File  |  1988-08-08  |  2.5 KB  |  94 lines

  1. {TUG PDS CERT 1.01 (Pascal)
  2.  
  3. ==========================================================================
  4.  
  5.                   TUG PUBLIC DOMAIN SOFTWARE CERTIFICATION
  6.  
  7. The Turbo User Group (TUG) is recognized by Borland International as the
  8. official support organization for Turbo languages.  This file has been
  9. compiled and verified by the TUG library staff.  We are reasonably certain
  10. that the information contained in this file is public domain material, but
  11. it is also subject to any restrictions applied by its author.
  12.  
  13. This diskette contains PROGRAMS and/or DATA determined to be in the PUBLIC
  14. DOMAIN, provided as a service of TUG for the use of its members.  The
  15. Turbo User Group will not be liable for any damages, including any lost
  16. profits, lost savings or other incidental or consequential damages arising
  17. out of the use of or inability to use the contents, even if TUG has been
  18. advised of the possibility of such damages, or for any claim by any
  19. other party.
  20.  
  21. To the best of our knowledge, the routines in this file compile and function
  22. properly in accordance with the information described below.
  23.  
  24. If you discover an error in this file, we would appreciate it if you would
  25. report it to us.  To report bugs, or to request information on membership
  26. in TUG, please contact us at:
  27.  
  28.              Turbo User Group
  29.              PO Box 1510
  30.              Poulsbo, Washington USA  98370
  31.  
  32. --------------------------------------------------------------------------
  33.                        F i l e    I n f o r m a t i o n
  34.  
  35. * DESCRIPTION
  36. Turbo Pascal V4.0 DEARC routine to abort with a message.
  37.  
  38. * ASSOCIATED FILES
  39. DEARC.PAS
  40. DEARCABT.PAS
  41. DEARCGLB.PAS
  42. DEARCIO.PAS
  43. DEARCLZW.PAS
  44. DEARCUNP.PAS
  45. DEARCUSQ.PAS
  46. DEARC.TXT
  47.  
  48. * CHECKED BY
  49. DRM 08/08/88
  50.  
  51. * KEYWORDS
  52. TURBO PASCAL V4.0
  53.  
  54. ==========================================================================
  55. }
  56. (**
  57.  *
  58.  *  Module:       dearcabt.pas
  59.  *  Description:  DEARC routine to abort with a message
  60.  *
  61.  *  Revision History:
  62.  *    7-26-88 : unitized for Turbo v4.0
  63.  *
  64. **)
  65.  
  66.  
  67. unit dearcabt;
  68.  
  69. interface
  70.  
  71. uses
  72.   dearcglb;
  73.  
  74.   procedure abort(s : strtype);
  75.  
  76. implementation
  77.  
  78. (**
  79.  *
  80.  *  Name:         procedure abort
  81.  *  Description:  terminate the program with an error message
  82.  *  Parameters:   var -
  83.  *                  s : strtype - message to print
  84.  *
  85. **)
  86. procedure abort(s : strtype);
  87. begin
  88.   writeln('ABORT: ', s);
  89.   halt(1);                            { pbr: added (1) param - dos exit code }
  90. end; (* proc abort *)
  91.  
  92. end.
  93.  
  94.