Reading integer from file end with ``Missing format for FORMATTED data transfer done``
问题 I'm updating a Fortran program for my needs. The program compiles using f95 and gcc version 4.1.2 (I know it is old, but I can't update it). I want to read parameters from a file and I try this via inquire (file="resLast", exist=resExist) if (readStart.eq.1.and.resExist) then open (unit=18,file='resLast', status='old', action='read') read (18) startConf read (18) avlength, stdlength, avenergy read (18) i,h2(1) read (18) i,h2(2) read (18) i,h2(4) read (18) i,h2(5) read (18) i,h2(8) read (18) i