Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!malgudi!caen!kuhub.cc.ukans.edu!maverick.ksu.ksu.edu!mac Newsgroups: comp.lang.fortran Subject: Re: Fortran formatted I/O (was Re: Left justify of integers.) Message-ID: <1991Jun4.203458.21847@maverick.ksu.ksu.edu> From: mac@cis.ksu.edu (Myron A. Calhoun) Date: Tue, 4 Jun 91 20:34:58 GMT Sender: news@maverick.ksu.ksu.edu (The News Guru) References: <1991Jun1.043052.29008@jato.jpl.nasa.gov> <28908@uflorida.cis.ufl.EDU> Distribution: usa Organization: Kansas State University Nntp-Posting-Host: harris.cis.ksu.edu Lines: 28 In <28908@uflorida.cis.ufl.EDU> bernhold@red8 (David E. Bernholdt) writes: >In article userAKDU@mts.ucs.UAlberta.CA (Al Dunbar) writes: >>Seems odd that such simple everyday useful things [proposed new edit >> descriptors] would be left changes to the language. out, while they did deal >>with much more complex and contentious >An anecdote about Fortran formatted I/O and edit descriptors: [many lines deleted] >.... Though I now understand formatted >I/O, I still find it one of the most cumbersome and inhibitory (in >terms of getting the format you really want) aspects of the language. Am I the only person in the world who thinks FORTRAN's FORMATs are REALLY NICE, especially since they work on both input and output? About the only extant language with better formatting is COBOL (I don't consider PL/1 extant). Pascal's formatting sucks. So does BASIC's "USING" statement. C's "scanf" is not much better. I'll admit that FORTRAN's FORMAT does have an occasional limitation (such as left-justified integers), but it can do almost everything else! --Myron. -- # Myron A. Calhoun, Ph.D. E.E.; Associate Professor (913) 539-4448 home # INTERNET: mac@cis.ksu.edu (129.130.10.2) 532-6350 work # UUCP: ...rutgers!ksuvax1!harry!mac 532-7353 fax # AT&T Mail: attmail!ksuvax1!mac W0PBV @ K0VAY.KS.USA.NA