Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Converting log to do files

From   "Nick Winter" <>
To   <>
Subject   st: Converting log to do files
Date   Wed, 16 Oct 2002 14:25:39 -0400

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 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:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index