Hi all,
Following a recent thread on converting existing log files into do
files, I created a program, -log2do2-, which is a new utility to do
this.
This program uses the -file- command, rather than reading the log file
into memory as a set of string variables. Further, it reads the files
character-by-charater in binary mode. This means that it is able to
preserve references to local macros in the original syntax.
The program also deals with -foreach- and -forvalues- blocks of code,
which are not preceeded by ". " or "> " in log files.
Available from SSC.
Nick Winter
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/