Thanks at lot,
That's what I was trying to accomplish, basically I am writting a program that open/read several files and compile the data into a single file. The names of files include year, month, etc, that is where the conversion was need it.
thank you again, Mauricio
Hi simple example:
"
integer :: year .....
character:: p1*4, ....
.
.
DO 100 i=fyear, lyear
year = i
p1=trim(year)
write(*,*) p1
..."
Compiling, complaint of course that year is incorrect kind for the function trim.
How to convert an integer to a character ? any suggestions
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.