home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / fortran / 4877 < prev    next >
Encoding:
Text File  |  1992-12-31  |  1.4 KB  |  40 lines

  1. Newsgroups: comp.lang.fortran
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!convex!convex!joelw
  3. From: joelw@convex.com (Joel Williamson)
  4. Subject: Re: A VMS Fortran I/O question
  5. Sender: usenet@news.eng.convex.com (news access account)
  6. Message-ID: <1992Dec31.183402.23078@news.eng.convex.com>
  7. Date: Thu, 31 Dec 1992 18:34:02 GMT
  8. References: <C03pyp.E4v@news.cso.uiuc.edu> <1992Dec31.153918.16765@e2big.mko.dec.com>
  9. Nntp-Posting-Host: mozart.convex.com
  10. Organization: Engineering, CONVEX Computer Corp., Richardson, Tx., USA
  11. X-Disclaimer: This message was written by a user at CONVEX Computer
  12.               Corp. The opinions expressed are those of the user and
  13.               not necessarily those of CONVEX.
  14. Lines: 24
  15.  
  16. In article <1992Dec31.153918.16765@e2big.mko.dec.com> lionel@quark.enet.dec.com (Steve Lionel) writes:
  17. >
  18. >In article <C03pyp.E4v@news.cso.uiuc.edu>, ercolessi@uimrl3.mrl.uiuc.edu 
  19. >(furio ercolessi) writes...
  20. >>Does anybody know (well, Steve Lionel certainly knows, but maybe
  21. >>he's in holiday ...) what should I do to kill the carriage control character 
  22. >>on the standard output in VMS Fortran ?
  23. >> 
  24. >>That is, I would like to be able to code something like
  25. >>      PRINT '(a)','Hello'
  26. >>instead of
  27. >>      PRINT '(1x,a)','Hello'
  28.  
  29. Having read Steve Lionel's response (deleted), I suppose I'm missing
  30. something obvious, but why not:
  31.  
  32.     PRINT '(a)', ' Hello'
  33.  
  34.                   ^
  35.     Blank carriage control in the string.
  36.  
  37. Joel Williamson
  38. -- 
  39.  
  40.