type - capture log close - at the beginning of your do-file, or immediately
before - log using ... -.
Paul Metcalfe
-----Original Message-----
From: Dimitriy V. Masterov [mailto:[email protected]]
Sent: Tuesday, March 04, 2003 1:18 AM
To: '[email protected]'
Subject: st: log close
Hello,
I was wondering if there is a way to automatically close the log file when
there is a dofile error of some sort. I always forget to type -log close-
and then I get an error when I run my corrected dofile when it gets to
the -log using...- section.
I realize this is a trivial problem, but I am rather absent-minded, and
this causes me and my colleagues a lot of frustration.
Thanks in advance for your help.
Dimitriy V. Masterov
*
* 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/
*
* 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/