home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / vms / 22250 < prev    next >
Encoding:
Text File  |  1993-01-28  |  1.2 KB  |  35 lines

  1. Newsgroups: comp.os.vms
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!pa.dec.com!engage.pko.dec.com!e2big.mko.dec.com!dbased.nuo.dec.com!quark.enet.dec.com!lionel
  3. From: lionel@quark.enet.dec.com (Steve Lionel)
  4. Subject: Re: VAX FORTRAN
  5. Message-ID: <1993Jan27.181914.27338@dbased.nuo.dec.com>
  6. Keywords:  FORTRAN PRINT QUEUE
  7. Lines: 21
  8. Sender: news@dbased.nuo.dec.com (USENET News System)
  9. Reply-To: lionel@quark.enet.dec.com (Steve Lionel)
  10. Organization: Digital Equipment Corporation, Nashua NH
  11. References:  <27JAN199309324042@rdth2.rdth.luc.edu>
  12. Date: Wed, 27 Jan 1993 18:19:14 GMT
  13.  
  14.  
  15. In article <27JAN199309324042@rdth2.rdth.luc.edu>, pbricker@rdth2.rdth.luc.edu 
  16. (Preston Bricker) writes:
  17. |>
  18. |>How do I send a file to a print queue from within a FORTRAN program?
  19. |>There should be a hook equivalent to DCL PRINT.
  20. |>If you post the answer, please also e-mail it.
  21. |>
  22.  
  23.     CLOSE (unit-number,DISPOSE='PRINT')
  24.  
  25. You can also say 'PRINT/DELETE' which deletes the file after it is
  26. printed.  (Of course, you have to have opened the file before you CLOSE
  27. it.  DISPOSE can also be specified on the OPEN statement.
  28. --
  29.  
  30. Steve Lionel                    lionel@quark.enet.dec.com
  31. SDT Languages Group
  32. Digital Equipment Corporation
  33. 110 Spit Brook Road
  34. Nashua, NH 03062
  35.