Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: RE: unexpected end of file

From   "Visintainer, Paul" <>
To   "''" <>
Subject   st: RE: RE: unexpected end of file
Date   Thu, 12 Aug 2010 14:52:49 -0400

If your running it on a Mac, be sure to add a carriage return after the last line of the .ado


Paul F. Visintainer, PhD
Baystate Medical Center
Springfield, MA 01199

-----Original Message-----
From: [] On Behalf Of Nick Cox
Sent: Thursday, August 12, 2010 1:33 PM
Subject: st: RE: unexpected end of file

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. 


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

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
command, everything works fine. Any ideas on what the problem might be?

*   For searches and help try:

Please view our annual report at

CONFIDENTIALITY NOTICE: This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents is prohibited. If you have received this communication in error, please reply to the sender immediately or by telephone at 413-794-0000 and destroy all copies of this communication and any attachments. For further information regarding Baystate Health's privacy policy, please visit our Internet site at

*   For searches and help try:

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