home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / fortran / 2905 < prev    next >
Encoding:
Text File  |  1992-07-31  |  1.0 KB  |  24 lines

  1. Newsgroups: comp.lang.fortran
  2. Path: sparky!uunet!gatech!destroyer!fmsrl7!slee07!ccw
  3. From: ccw@slee07.srl.ford.com (C. C. Warren)
  4. Subject: How can I count the number fields in a formatted file?
  5. Message-ID: <Bs9E7s.9CL@fmsrl7.srl.ford.com>
  6. Sender: usenet@fmsrl7.srl.ford.com (0000-Admin(0000))
  7. Organization: Ford Motor Company Scientific Research Labs, Dearborn, MI
  8. References: <Bs5wA8.7xp@news.cso.uiuc.edu>
  9. Date: Fri, 31 Jul 1992 15:11:48 GMT
  10. Lines: 12
  11.  
  12. Is there a way to determine the number of fields in a formatted (ascii) file
  13. record? putting it another way, is there a way to terminate a read if an EOL
  14. is encountered? I've looked thru Sun's fortran manual and I don't see an easy
  15. way to do this. 
  16.  
  17. Any suggestions would be appreciated.
  18. Thanks
  19. --
  20. *************************************************************************
  21. *My opinions are mine and do not necessarily reflect in any way those *
  22. *of my employer.                                                        *
  23. *Chris Warren:  ccw@slee01.srl.ford.com                                 *
  24.