I would like to read variables from a file in Fortran. For example I have one .txt file with multiple columns. I would like to set i.e.
x (for the first column)
y (for the secοnd column)
z (for the third column) etc.
The porpuse of this set is to create a code which would use one equation and after that it would makes claculation between x,y,z etc.
Could you please tell me which command should I use in order to make it?
I have to mention that every time I would not have the same dimension (number of lines and rows) files.
What I have tried:
The problem is that I have a file with 14 columns and 644 lines. I use these commands but my .exe file does not showing what I would like
I give you my code:
+ ,Var10(len)*8, Var11(len)*8,Var12(len)*8,Var13(len)*8,Var14(len)*8,header_append*97
Could you please help me?