Don't know. Check for explicit end-of-line characters on the last line
of the file in a text editor capable of showing them.
Nick
n.j.cox@durham.ac.uk
Dani Tilley
I've wrote a Stata command and saved it as a .ado and copied on my ado
directory. When I start Stata and run the command, I get the following
error:
unexpected end of file
(error occurred while loading command.ado)
When I open it with a text editor, copy paste it to Stata, and then run
the
command, everything works fine. Any ideas on what the problem might be?
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/