Hi,
I have a large amount of arrays of different dimensions. However, I name them with a sequential order, say var1, var2, and so on. In order to read them, I would be interested in looping over them in something like:
do i=1,n
read(1,*) var<i>
enddo
Of course, since the arrays are of different dimensions, I cannot simply add a dimension and collapse them into a single one.
My impression is that Fortran does not allow to convert strings into variable names or something similar, so does anybody know how to deal with this?
Thanks!