Hi-
I'm new to using fortran, and I'm having trouble undertstanding the READ command. I'm supposed to make my own version of a code for practice.
THis deals with reading files.
The file was opened like this:
open(unit=1, file=arg1, status='old')
And the read command, a couple lines later says this:
read(1,1,end=15)s
I know that the first 1 means unit 1, and the end=15 refers to a label. What does the second 1 mean? Is it a line number or a character number?
I'm new to using fortran, and I'm having trouble undertstanding the READ command. I'm supposed to make my own version of a code for practice.
THis deals with reading files.
The file was opened like this:
open(unit=1, file=arg1, status='old')
And the read command, a couple lines later says this:
read(1,1,end=15)s
I know that the first 1 means unit 1, and the end=15 refers to a label. What does the second 1 mean? Is it a line number or a character number?