Deutsch English Français Italiano |
<x-CcneTnt5bXYoz6nZ2dnZfqnPWdnZ2d@earthlink.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!Xl.tags.giganews.com!local-4.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Fri, 18 Oct 2024 06:25:14 +0000 Subject: Re: The joy of FORTRAN Newsgroups: alt.folklore.computers,comp.os.linux.misc References: <vd8doi$15q07$1@dont-email.me> <vdn5nd$3ssv4$16@dont-email.me> <slrnvfu75g.t6vq.candycanearter07@candydeb.host.invalid> <kMedne0I3JBuxmL7nZ2dnZfqnPgLyJ2d@earthlink.com> <slrnvgdhcc.2nfc6.candycanearter07@candydeb.host.invalid> <ve6pfp$2p1hd$8@dont-email.me> <ve8612$33lq0$3@dont-email.me> <ve9vga$3cbkr$4@dont-email.me> <mIdOO.204988$1m96.63811@fx15.iad> <vec4l3$3q4ms$5@dont-email.me> <criOO.380449$WOde.297877@fx09.iad> <20241014080601.00007478@gmail.com> <ln5gklF755tU4@mid.individual.net> <38fb5a91-5d00-be42-4bfe-2a05232a82c1@example.net> <ln7tooFijhpU2@mid.individual.net> <vemfq7$1qobu$5@dont-email.me> <venqec$24hhj$2@dont-email.me> <1420907830.750803935.503389.peter_flass-yahoo.com@news.eternal-september.org> <veqh7f$19v5v$1@paganini.bofh.team> <20241017090224.000072ce@gmail.com> <20241017203051.3143245f5330ac675cc1c166@127.0.0.1> <WUqdndxzb5qBRoz6nZ2dnZfqnPGdnZ2d@earthlink.com> <lne6rsFh72qU1@mid.individual.net> <vessel$35pc2$1@dont-email.me> From: "186282@ud0s4.net" <186283@ud0s4.net> Organization: wokiesux Date: Fri, 18 Oct 2024 02:25:07 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <vessel$35pc2$1@dont-email.me> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Message-ID: <x-CcneTnt5bXYoz6nZ2dnZfqnPWdnZ2d@earthlink.com> Lines: 38 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 99.101.150.97 X-Trace: sv3-TnnrYq5t9orkSY1BumoA8s44r2uH1jD4M7Ndi3GiMeFCf1w0lCMRzBNHrhmhHIgu+ngQ+RMHeo8oSDE!IUDRfF3BC2Myy0dFuQU4tnbW5Me6uOcQnVipK019rZLHdoZqFNj9KBmzF2JHVbRybhSoy8MWV8ih!u32gZiMt5k804LXDiWj+ X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Bytes: 3482 On 10/18/24 1:41 AM, Lawrence D'Oliveiro wrote: > On 18 Oct 2024 04:35:09 GMT, rbowman wrote: > >> Our source tree still has vestiges of Fortran that go back more than 20 >> years and are strictly f77. >> >> recnum = 1 read(adrich,15,rec=recnum) totrec >> 15 format(i10) >> >> 100 if(recnum.gt.totrec) goto 500 >> read(adrich,105,rec=recnum+1) ch >> 105 format(1a1) > > You know that Fortran 77 introduced if-then and do-while, right? > >> f-strings are the best thing that happened to Python recently. > > I still prefer printf-style formatting. It works across so many different > languages ... even Lisp. There are many attempts to do fine-format printing "easy". NONE really do it perfectly. Dunno if there *is* a 'perfect'. Printf is "ok". FORTRAN "format" is kinda OK. Python kinda borrows from both FORTRAN and 'C' as does Free Pascal. Of course TODAY, fine-formatting generally means something in a GUI, not for a terminal or line printer. I've got an old OKI pin-printer ... very noisy, but that's what "format" and such were for. Makes for nice tabular reports and paychecks. Oh, try Amazon or something and look at the PRICE of OKI pin printers these days !!! Kinda miss them ... the buzz sounded like you were DOING something :-)