[Info-vax] Fortran
Scott Dorsey
kludge at panix.com
Thu Dec 6 10:02:04 EST 2018
Phillip Helbig (undress to reply) <helbig at asclothestro.multivax.de> wrote:
>In article <pu9e97$dbh$1 at panix2.panix.com>, kludge at panix.com (Scott
>Dorsey) writes:
>
>> Same problem. These days it's normal practice to put the common block
>> in a file and then INCLUDE it as needed. This means every routine always
>> has the same common block definitions. This dramatically reduces the number
>> of things that can go wrong, but unfortunately the case above is one of the
>> big ones still left.
>
>Modules and INCLUDE were both introduced in Fortran90. So, while the
>above is perhaps a slight improvement, better would be a rewrite using
>modules.
VMS Fortran has had INCLUDE for a long long time. It was so great and
people liked it so much that it later wound up in the f90 standard.
--scott
--
"C'est un Nagra. C'est suisse, et tres, tres precis."
More information about the Info-vax
mailing list