home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.vms
- 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
- From: lionel@quark.enet.dec.com (Steve Lionel)
- Subject: Re: VAX FORTRAN
- Message-ID: <1993Jan27.181914.27338@dbased.nuo.dec.com>
- Keywords: FORTRAN PRINT QUEUE
- Lines: 21
- Sender: news@dbased.nuo.dec.com (USENET News System)
- Reply-To: lionel@quark.enet.dec.com (Steve Lionel)
- Organization: Digital Equipment Corporation, Nashua NH
- References: <27JAN199309324042@rdth2.rdth.luc.edu>
- Date: Wed, 27 Jan 1993 18:19:14 GMT
-
-
- In article <27JAN199309324042@rdth2.rdth.luc.edu>, pbricker@rdth2.rdth.luc.edu
- (Preston Bricker) writes:
- |>
- |>How do I send a file to a print queue from within a FORTRAN program?
- |>There should be a hook equivalent to DCL PRINT.
- |>If you post the answer, please also e-mail it.
- |>
-
- CLOSE (unit-number,DISPOSE='PRINT')
-
- You can also say 'PRINT/DELETE' which deletes the file after it is
- printed. (Of course, you have to have opened the file before you CLOSE
- it. DISPOSE can also be specified on the OPEN statement.
- --
-
- Steve Lionel lionel@quark.enet.dec.com
- SDT Languages Group
- Digital Equipment Corporation
- 110 Spit Brook Road
- Nashua, NH 03062
-