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

st: Re: expect the unexpected


From   Kit Baum <baum@bc.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: Re: expect the unexpected
Date   Fri, 19 Dec 2003 11:23:52 -0500

On Dec 19, 2003, at 2:33 AM, Allan wrote:

Not from official updates, but I tried to get etime from the SSC this
week.  Mozilla saved a file that ended with "end" but when I tried to
use the routine Stata said "unexpected end of file".

Expect the unexpected?
Try putting in a blank line at the end of file. If Stata does not see a line terminator on a line, it does not consider it part of the do-file. I have been bitten thusly when pasting into the do-file editor: you better hit return at the end of a line.

Kit

*
* 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index