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

Re: st: problem with do file stopping prematurely


From   "Christopher W. Ryan" <[email protected]>
To   [email protected]
Subject   Re: st: problem with do file stopping prematurely
Date   Tue, 15 Nov 2005 16:44:43 -0500

Throwing in an "ENTER" at the end of the do-file did the trick. Thank you very much.
--
Christopher W. Ryan, MD
SUNY Upstate Medical University Clinical Campus at Binghamton
and Wilson Family Practice Residency, Johnson City, NY
cryanatbinghamtondotedu
GnuPG and PGP public keys available at http://pgp.mit.edu

"If you want to build a ship, don't drum up the men to gather wood, divide the work and give orders. Instead, teach them to yearn for the vast and endless sea." [Antoine de St. Exupery]



Ketan Patel wrote:

Hi Christopher,

I believe that Stata does not process the last line of a do file, so
if the gen diriscore command is the last line of the file, it will not
be run.  The file with just the gen diriscore command in it is
probably not working for the same reason.  A solution is to add a
carriage return after the end of the gen diriscore command.

--Ketan Patel

*
*   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/



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