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