home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.fortran      Putting John Backus on a giant pedestal      5,127 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 4,741 of 5,127   
   Gary Scott to Thomas Koenig   
   Re: Is there a way in Fortran to designa   
   13 Oct 24 09:12:15   
   
   From: garylscott@sbcglobal.net   
      
   On 10/13/2024 7:18 AM, Thomas Koenig wrote:   
   > Lynn McGuire  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.   
      
   About the only thing I've used it for is for performing mathematical   
   operations on things like characters for encryption or compression   
   algorithms.  Using a function for that doesn't appeal to me.   
      
   >   
   > 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.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca