Deutsch   English   Français   Italiano  
<vegdr2$m3av$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder9.news.weretis.net!2.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Thomas Koenig <tkoenig@netcologne.de>
Newsgroups: comp.lang.fortran
Subject: Re: Is there a way in Fortran to designate an integer value as
 integer*8 ?
Date: Sun, 13 Oct 2024 12:18:42 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <vegdr2$m3av$1@dont-email.me>
References: <vdict2$339ak$1@dont-email.me> <vdir24$35104$1@dont-email.me>
 <vdk718$3bulb$1@dont-email.me> <vdl6fi$3jra3$2@dont-email.me>
 <vdlfpl$3l0f5$1@dont-email.me> <vdmbml$3p2dv$1@dont-email.me>
 <vdmrgc$3rih7$2@dont-email.me>
Injection-Date: Sun, 13 Oct 2024 14:18:42 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="5313b0390ceae2eaf8e2c89840e9a3fa";
	logging-data="724319"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX193JxaejZMxd0bwjqEVZ/rmk6AnfAq9UXc="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:B3Ap3vBRTTDmmsBCi0oJpGMcqv8=
Bytes: 1831

Lynn McGuire <lynnmcguire5@gmail.com> schrieb:

> I have 197 common blocks included from dedicated files and a massive 
> number of equivalences all over the place.  Several of the equivalences 
> are actually in the common block files.  The equivalences have made the 
> eventual C++ conversion of the Fortran code tricky.

What do you use the equivalences for?  Saving memory? Then this
should not be a large issue on modern machines.

If you are using them for tricks with type conversion, then you
are on thin ice already, and have been since Fortran 66.

And if you have a few big arrays, then changing those to ALLOCATABLE
and allocating them at runtime might well be straightforward.