forum

Home / DeveloperSection / Forums / How to Convert Integers to String in Fortran?

How to Convert Integers to String in Fortran?

Anonymous User 2440 19-Nov-2014

I have a program in Fortran that saves the results to a file. At the moment I open the file using

OPEN (1, FILE = 'Output.TXT')

However, I now want to run a loop, and save the results of each iteration to the files 'Output1.TXT', 'Output2.TXT', 'Output3.txt', ...

Is there an easy way in Fortran to constuct filenames from the loop counter i?


Updated on 19-Nov-2014
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By