ifffam
ifffam

Reputation: 175

An alternative to the use of the end tag in read statement having used the arbitrary format specifier ' * '

In fortran, it's not possible to add an end tag to a read statement, if an specific format is not provided. For example,

read (1,*,end=3)

is not allowed. One must provide the specific format of the data to read. Is there an alternative to use and end tag while using the arbitrary format specifier ' * ' ?

Upvotes: 0

Views: 92

Answers (0)

Related Questions