home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / fortran / 4337 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  1.3 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!ub!acsu.buffalo.edu!ubvmsb.cc.buffalo.edu!v087mxgb
  2. From: v087mxgb@ubvmsb.cc.buffalo.edu (Shawn E Thompson)
  3. Newsgroups: comp.lang.fortran
  4. Subject: easy character printing on one line (no CR/LF)
  5. Message-ID: <Bxv4py.CDH@acsu.buffalo.edu>
  6. Date: 17 Nov 92 13:42:00 GMT
  7. Sender: nntp@acsu.buffalo.edu
  8. Organization: University at Buffalo
  9. Lines: 28
  10. News-Software: VAX/VMS VNEWS 1.41
  11. Nntp-Posting-Host: ubvmsb.cc.buffalo.edu
  12.  
  13.  
  14. I use this regularly....
  15.  
  16. 200 format('+',3x,f6.7,i3,...etc)
  17.  
  18.  
  19.  
  20. the '+' character tells the output device to suppress
  21. the line feed (but *NOT* the carriage return)
  22.  
  23. to you will have to vary the spacing if you don't
  24. want to overwrite the previous output string
  25.  
  26.  
  27.  
  28.  
  29.  
  30. regards
  31.  
  32.  
  33.                              Shawn E. Thompson           
  34. _______________________________________________________________________________
  35. v087mxgb@ubvms.cc.buffalo.edu         |    Senior Engineer & Project Manager
  36. set@autarch.acsu.buffalo.edu          |    Research & Development Department
  37. SUNY @ Buffalo                        |    Optical Products Division       
  38. Grad School of Mechanical Engineering |    Leica, Incorporated
  39. -------------------------------------------------------------------------------
  40. "These days the buck stops nowhere.....no-one takes the blame"    -- Don Henley
  41.