c program to read a summary tape with my nxtsum c John Belcher 8/29/2021 c DIMENSION ANS(200), TEMP(3) DATA ANS /200*0./ data temp /3*0./ INTEGER LSTAT,IEOD,IL INTEGER*2 JTB(6),JDATA(512),JNE,JTLMOD,JCLK,JDSRN(15) jclk = 0 1 call nxtsum(ANS,JTB,JDATA,JNE,LSTAT,JTLMOD,JCLK,TEMP,IEOD,IL, * TPTYPE) if(IEOD == 1 ) go to 20 c we are only going to dump out an M mode file at the following time if(jtb(1).ne.1977) go to 1 if(jtb(2).ne.304) go to 1 if(jtb(3).ne.4) go to 1 if(jtb(4).ne.59) go to 1 if(jtb(5).ne.12) go to 1 write(6,95) JTB,JTLMOD,JNE,JCLK,LSTAT 95 format(9I5,Z10) write(6,7788) c write currents in DN ncur = 16 if(jtlmod.eq.1) ncur =64 if(jtlmod.eq.2) ncur =512 write(6,6) (jdata(j),j=1,ncur) 6 FORMAT(16i4) c write out ans array write(6,7788) if(jtlmod.eq.2) write(6,1515) (j,ans(j),j=1,150) 1515 format("Ans ",i3,f12.3) write(6,7788) 7788 format(" ") go to 1 1415 continue 20 continue 99 format(8i10) stop end