Hello.
I use fortran 90 and I need to read from a file a certain number of data that appear after a certain word.
as instance i have a file like
[anything]
ZXX
8
12.3 12.2 0.023 23.222 12
12.23 12.2 0.023 23.222 12
12.3 12.2 0.023 23.222 12
12.3 12.2 0.023 23.222 12
12.3 12.2 0.023 23.222 12
12.3 12.2 0.023 23.222 12
12.3 12.2 0.023 23.222 12
12.3 12.2 0.023 23.222 12
[something more]
and I will need to put data in variables according with the last two characters of the word. (they may be any combination of x,y)
any sugestion?
I use fortran 90 and I need to read from a file a certain number of data that appear after a certain word.
as instance i have a file like
[anything]
ZXX
8
12.3 12.2 0.023 23.222 12
12.23 12.2 0.023 23.222 12
12.3 12.2 0.023 23.222 12
12.3 12.2 0.023 23.222 12
12.3 12.2 0.023 23.222 12
12.3 12.2 0.023 23.222 12
12.3 12.2 0.023 23.222 12
12.3 12.2 0.023 23.222 12
[something more]
and I will need to put data in variables according with the last two characters of the word. (they may be any combination of x,y)
any sugestion?