Hallo everybody,
I would like to write in fortran different input file like:
test_1.inp
test_2.inp
.
.
.
test_50.inp
I would like to do something like this:
do i=1:50
Open(unit=2,access='sequential',file='prova_'i'.inp'
&,status='replace')
end do
but how can I pass from the number i to the text form of i?
thanks
I would like to write in fortran different input file like:
test_1.inp
test_2.inp
.
.
.
test_50.inp
I would like to do something like this:
do i=1:50
Open(unit=2,access='sequential',file='prova_'i'.inp'
&,status='replace')
end do
but how can I pass from the number i to the text form of i?
thanks