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 5,092 of 5,127   
   Thomas Koenig to Michael S   
   Re: "Internationalis(z)ing Code - Comput   
   05 Feb 26 19:36:53   
   
   From: tkoenig@netcologne.de   
      
   Michael S  schrieb:   
      
   > Not that I understood all incantations, but I guess that above code   
   > demonstrates that in New Fortran array indices are no longer limited to   
   > 2**31.   
      
   Yes. You need to add a KIND number to the integer; the code above   
   chose INT64, which is (if available) is predefined in an intrinsic   
   module.  If you do that, things Just Work (TM); you can use these   
   integers for I/O, array subscripts, DO loops and arithmetic.   
      
   This problem was solved in 1991, when Fortran 90 became the   
   standard.  The same mechanism can be used to select between   
   different REAL types.  Far cleaner than Fortran 77 (obviously)   
   and also than C and C++.   
      
   --   
   This USENET posting was made without artificial intelligence,   
   artificial impertinence, artificial arrogance, artificial stupidity,   
   artificial flavorings or artificial colorants.   
      
   --- 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