home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / cpm / cug / softt-3.lbr / ERROR.DOC < prev    next >
Text File  |  1984-07-05  |  896b  |  48 lines

  1. .bp 1
  2. .in 0
  3. .he 'ERROR (2)'7/23/80'ERROR (2)'
  4. .fo ''-#-''
  5. .fi
  6. .in 7
  7. .ti -7
  8. NAME
  9. .br
  10. error - print single-line message and terminate execution
  11. .sp 1
  12. .ti -7
  13. SYNOPSIS
  14. .br
  15. .nf
  16. call error (message)
  17.  
  18. integer message          #message is a hollerith array
  19. .fi
  20. .sp 1
  21. .ti -7
  22. DESCRIPTION
  23. .br
  24. Error
  25. writes the message onto the standard error file ERROUT.
  26. A NEWLINE is always generated, even though one may not appear in
  27. the message.
  28. Endst is called
  29. and execution ceases.
  30.  
  31. Error is essentially a call to 'remark' and then to 'endst'.
  32.  
  33. The message array is a Fortran hollerith string in the
  34. format generated by the Ratfor quoted string capability.
  35. On some systems,
  36. it may be necessary to terminate the string with a '.' or other
  37. end-of-string marker.
  38. .sp 1
  39. .ti -7
  40. SEE ALSO
  41. .br
  42. remark, putlin, prompt, endst
  43. .sp 1
  44. .ti -7
  45. DIAGNOSTICS
  46. .br
  47. None
  48.