I want to write a program that reads a list of files one by one
(through a for loop) while making changes. In order to do so, i will
need to supply a the file name as a variable with the use command.
For example:
gen filestr = "file name here"
gen fileno = 1
gen infile = filestr + fileno
use infile, clear
Could somebody please help me with the correct syntax for doing this?
Thanks.
Kushan
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/