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,706 of 5,127   
   R Daneel Olivaw to Lynn McGuire   
   Re: Is there a way in Fortran to designa   
   03 Oct 24 14:45:31   
   
   From: Danny@hyperspace.vogon.gov   
      
   Lynn McGuire wrote:   
   > I need many of my integers to be integer*8 in my port to 64 bit.  In   
   > C/C++ code, I can say 123456L to mean a long long value, generally 64   
   > bit.  Is there a corresponding way to do this in Fortran or am I stuck   
   > with:   
   >   
   >      call xyz (1)   
   >   
   >      subroutine xyz (ivalue)   
   >      integer*8 ivalue   
   >      ...   
   >      return end   
   >   
   > must be:   
   >   
   >      integer*8 ivalue   
   >      ...   
   >      ivalue = 1   
   >      call xyz (ivalue)   
   >   
   > Thanks,   
   > Lynn   
   >   
      
   This is not actually a Fortran issue as such, it's all about a specific   
   compiler (GNU Fortran).   
      
   --- 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