bfrguci
0
Q:

write integer value in name fortran 90

program foo
    character(len=1024) :: filename

    write (filename, "(A5,I2)") "hello", 10

    print *, trim(filename)
end program
1

Tags

New to Communities?

Join the community