Hello all,
I have to repeat 15 times the same operation writing (different) data into .dat files. The basic name of the file is user-defined and stored in a variable, say $File. What I'd like to do is to add an extension to that file name to have something like : File1.dat, File2.dat and so on. I've tried to put all this in a FOR loop but it obviously doesn't work. Here's part of what I've done:
The problem seems to be in the two $ that appear there. How do you solve the problem?
Many thanks,
Felix