- #1
vikincarioca
- 8
- 0
Hi pals I'm using fortran program to open several files like iso1.dat,iso2.dat... iso9.dat withis this files are number that I can read with my program, but I don't know how can I open the files above and then read it
this is my simple code
this is my simple code
Code:
implicit real*8(a-h,o-z)
parameter(nx=100)
dimension y(nx),eta(nx),iso(nx)
integer::nl1,i,n
character*60 dumi
nl1=9
do i=1,8
open(10,file='iso00.dat')
end do
do i=1,nl1
read(10,fmt=*)dumi
end do
DO n=1,5
read(10,fmt=*)i,y(n),eta(n),j,k,p,q,s
write(*,'(2d14.6)')y(n),eta(n)
END DO
stop
end