Eg. The integer variable (m) will take the following values one by one:
1, 2, 3, ....
For each value of m, an array
p(i) (i=1,2,..., 1000)
is obtained and written in a output file with
open()
and write()
Could you tell me how to name these output files as
file1.dat, file2.dat, file3.dat, …
Thanks.