Re: Is there a way in Fortran to designate an integer value as integer*8 ?

Liste des GroupesRevenir à cl c  
Sujet : Re: Is there a way in Fortran to designate an integer value as integer*8 ?
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.fortran
Date : 03. Oct 2024, 23:34:17
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vdn659$3ssv4$18@dont-email.me>
References : 1 2 3 4 5 6 7 8 9
User-Agent : Pan/0.160 (Toresk; )
On Thu, 3 Oct 2024 17:13:40 -0500, Lynn McGuire wrote:

On 10/3/2024 5:08 PM, Lawrence D'Oliveiro wrote:
>
On Thu, 3 Oct 2024 14:32:28 -0500, Lynn McGuire wrote:
 
I have 197 common blocks included from dedicated files and a massive
number of equivalences all over the place.
 
Try getting rid of at least some of them, by using “contains”.
 
What does "contains" do ?  My knowledge of Fortran stopped at F77+.

Pick up a Fortran-90-or-later spec. This is not your father’s Fortran any
more. “contains” lets you put subroutines and functions directly in the
main program, so they can refer directly to program globals instead of
having to go through “common” blocks.

I posted an example of modernized Fortran code right here a few months
ago, and I see there’s a comment from you on it, so you must have seen it.

Date Sujet#  Auteur
7 Jan 25 o 

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal