Apart from notepad being one of the most useless
editors in human history, I guess the issue 
here may be the absence of an explicit end-of-line 
character on the last line of the file. Go to
the line with -end- and press Return at the 
end of the line and then re-save the file. 
Nick 
[email protected] 
[email protected]
> I am having a problem with notepad and/or stata.
> 
> When I write a program in notepad without the delimiter (#d;)
> it crashes when I called it in stata, even when just doing 
> the simplest stuff:
> 
> �prog myprog
> su
> end
> 
> It does not if I do the following:
> �#d;
> prog myprog;
> su;
> end;
> #d cr
> 
> Anybody knows what is going on?
 
> I write the codes in notepad and place
> them in (C:\ados\personnal). I am using stata 9.
*
*   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/