Answers for "write integer value in name fortran 90"

1

write integer value in name fortran 90

program foo
    character(len=1024) :: filename

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

    print *, trim(filename)
end program
Posted by: Guest on September-10-2020

Browse Popular Code Answers by Language