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,694 of 5,127   
   Lawrence D'Oliveiro to Lynn McGuire   
   Re: Is there a way in Fortran to designa   
   02 Oct 24 07:00:20   
   
   From: ldo@nz.invalid   
      
   On Tue, 1 Oct 2024 21:58:40 -0500, 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 ...   
      
       integer(kind = 8), parameter :: bigval = 9223372036854775807_8   
       print *, bigval   
      
   prints   
      
       9223372036854775807   
      
   --- 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