dear stata users,
thanks to kit baum, a new package called -rewrite- is available from SSC.
-rewrite- copies the text file -modelfile- to -finalfile-. the
difference with -copy- is that -modelfile- is not copied verbatim:
-rewrite- performs macro substitution on -modelfile- using the values of
global macros that are valid for the current Stata session.
-rewrite- automatizes the tip contained in
Gini, R. 2008. Stata tip 56: Writing parameterized text files. The
Stata Journal 8(1): 134-136.
rosa
=================================
Rosa Gini
Dottore di Ricerca in Matematica
Osservatorio di Epidemiologia
Agenzia Regionale di Sanita' della Toscana
Viale Giovanni Milton, 7
50129 Firenze
www.arsanita.toscana.it
Tel +39 055 4624341
Fax +39 055 4624345
=================================
*
* 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/