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
"
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