- #1
Gugga
- 2
- 0
Hello all,
I have some data stored in character*1 array(value,value) apparently the code is in f77, i got the original reading code for the data as a text...
I am working in f90, and to the extend of my knowledge (not much in fortran) I can not declare such 2D array as character? http://www.ibiblio.org/pub/languages/fortran/ch2-13.html
How can I read this data using f90?
When I tried compiling the code, I declared it like this:
character(1) :: array(value,value)
and I get the error: "array requires initializer"
perhaps I am blind and super easy, but I am stuck and i need this to continue my thesis... thanks!
I have some data stored in character*1 array(value,value) apparently the code is in f77, i got the original reading code for the data as a text...
I am working in f90, and to the extend of my knowledge (not much in fortran) I can not declare such 2D array as character? http://www.ibiblio.org/pub/languages/fortran/ch2-13.html
How can I read this data using f90?
When I tried compiling the code, I declared it like this:
character(1) :: array(value,value)
and I get the error: "array requires initializer"
perhaps I am blind and super easy, but I am stuck and i need this to continue my thesis... thanks!