home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / fortran / 4669 < prev    next >
Encoding:
Text File  |  1992-12-11  |  1.3 KB  |  42 lines

  1. Newsgroups: comp.lang.fortran
  2. Path: sparky!uunet!caen!mtu.edu!mtu.edu!fmconway
  3. From: fmconway@mtu.edu (F. Michael Conway)
  4. Subject: line defaults
  5. Message-ID: <1992Dec11.205319.22063@mtu.edu>
  6. Sender: news@mtu.edu
  7. Nntp-Posting-Host: geolab1.geo.mtu.edu
  8. Organization: Michigan Technological University
  9. Date: Fri, 11 Dec 1992 20:53:19 GMT
  10. Lines: 30
  11.  
  12. Keywords:f77, line defaults, sun
  13.  
  14. I'm having trouble dealing with output from a fortran (f77) program and I hope
  15. someone in this group can give me some advice.
  16.  
  17. I'm working with f77 compiler on a SUN system and apparently the default is 80(?)
  18. characters/line.  I would like to increase this to several hundred
  19. characters/line.  This is necessary in order to enter the data, in a usuable
  20. fashion into LOTUS.  
  21.  
  22. Here are the write and format statements.
  23.  
  24.     Write (2,42) char(09), char(09), (elem(i), char(09)
  25. 42        format(A,A,46(a,a))
  26.  
  27.     and
  28.  
  29.     Write (2,839) Petfr, char(09), temp, char(09), (G(1,I), char(09),i=nt)
  30.         format (f7.2,a,f7.2,a,70(f7.2,a))
  31.  
  32. The programs runs fine and it produces good output. But importing it into LOTUS
  33. becomes meaningless because it starts a new line every 80 characters and not at the
  34. end of each write statement.
  35.  
  36.     I would greatly appreciate any advice on how to correct this problem.
  37.  
  38.                 Thanks,
  39.  
  40.                 Mike Conway    
  41.  
  42.