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 : tkoenig (at) *nospam* netcologne.de (Thomas Koenig)
Groupes : comp.lang.fortran
Date : 21. Oct 2024, 06:41:22
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vf4pi2$qsfn$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
User-Agent : slrn/1.0.3 (Linux)
Lynn McGuire <lynnmcguire5@gmail.com> schrieb:

I include all of my common blocks as files to stop typos.

That is surely an old technique, but only really works to 100%
if you adhere to some additional style constraints in your code.

Consider

foo.f:

      DIMENSION A(10)
      INCLUDE "common.inc"

bar.f:

      INCLUDE "common.inc"

(without the DIMENSION)

common.inc:

      COMMON /COMMON/ A


Date Sujet#  Auteur
7 Jan 25 o 

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal