Re: The joy of FORTRAN

Liste des GroupesRevenir à col misc 
Sujet : Re: The joy of FORTRAN
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : alt.folklore.computers comp.os.linux.misc
Date : 18. Oct 2024, 06:41:41
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vessel$35pc2$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
User-Agent : Pan/0.160 (Toresk; )
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.

Date Sujet#  Auteur
9 Jul 25 o 

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal