EDIT: Realized I needed 2 open statements so this is where I'm sitting currently:
OPEN (UNIT = 10, FILE = 'fname', STATUS = "OLD", ACTION = "READ", IOSTAT = ierror)
IF (ierror /= 0) STOP "Error opening file. Aborting."
i = 1
DO
READ(10,*,IOSTAT=ierror) nums(i)
IF (ierror /= 0) EXIT
i=i+1...
Hi, I'm new to this website, and also very new with FORTRAN and programming in general but I have an assignment I'm very confused about and having lots of problems with. If anyone smarter than me could help me out or give me some tips at where to go that would be greatly appreciated.
Heres...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.